
Contributor
2023-09-05
09:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Class Not Found Exception
Hi Team
We have developed few talend jobs on local windows , but while moving the job to linux it throws below error-
"Error: Could not find or load main class dummy.demo_0_1.demo
Caused by: java.lang.ClassNotFoundException: dummy.demo_0_1.demoClass "
- The build was copied manually on the linux server
- When the developer executes the jobs with personal ID , the job gets executed
- when the build is deployed using CICD OR through functional ID , the above error pops up .
- We noticed that in lib folder if we retain routines.jar using developer ID and copy rest of the files with functional /any other ID the job execution is success .
Could you please guide us what could be the the issue ? It could be a file permission issue but not sure which file . Any help/pointers is highly appreciated.
655 Views
1 Reply

Anonymous
Not applicable
2023-09-05
11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
It seems like a permission issue, "Error: Could not find or load main class dummy.demo_0_1.demo" means it can't find the java file of the job (jobName_0_1.jar) or can't access it, open the job script jobName_run.sh, you will see which files will be accessed and where.
Regards
Shong
655 Views
