Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
PD2
Contributor
Contributor

Exception in thread "main" java.lang.NoClassDefFoundError:

Running Talend Open Studio 5.6.3 on Linux
Created some custom Java routines and placed them in a folder under "Code/Routines/PetersStuff. 
The custom code runs perfectly when executing my job within the  TOS IDE.
If if do a build job and pick all dependencies the job builds perfectly.
When I run the job I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:]
When I look at the what was all included in the lib/userRoutines.jar my routines are not getting bundled into the userRoutines.jar file.
Why?
Thank you
Peter
Labels (3)
2 Replies
Anonymous
Not applicable

Hi,
If if do a build job and pick all dependencies the job builds perfectly.
When I run the job I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:]
When I look at the what was all included in the lib/userRoutines.jar my routines are not getting bundled into the userRoutines.jar file.

Did you get this issue when run job script .sh file? Have you already right clicked "Set up routine dependencies" for your user routines?
Best regards
Sabrina
Anonymous
Not applicable

Hi,
Do you have permissions on your folder ?
Arnaud