Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.lang.NoClassDefFoundError

Hello ,
Im working with talend for more than a month . i dont know why the following java error occurs suddenly while running a job .
before this i didn't changed anything in talend or in job . executed the job as daily but suddenly i got this error .
can any one help me for this issue .
java.lang.NoClassDefFoundError: infobuilder/report_and_mail_0_1/Report_And_Mail
Caused by: java.lang.ClassNotFoundException: infobuilder.report_and_mail_0_1.Report_And_Mail
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: infobuilder.report_and_mail_0_1.Report_And_Mail. Program will exit.
Exception in thread "main"
Thanks in Advance
Nilesh

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thxn for quick answer.

 

I do find solution by re-exporting jobs with all dependencies and re-build the job master and it's OK ( with nexus and .bat)

View solution in original post

38 Replies
Anonymous
Not applicable
Author

Hi Nilesh
The problem is that some of jars are missing, so please check what you have done maybe remove the files. Do you get the same problem when executing other jobs? Do you execute the job in studio or out of studio?
Best regards
Shong
Anonymous
Not applicable
Author

i have checked with some other jobs . that too showing the same type of error
Im executing the job inside talend open studio as same i did before .
Anonymous
Not applicable
Author

can anyone help me to overcome this issue asap .
Anonymous
Not applicable
Author

still im getting the same error while executing a simple job
java.lang.NoClassDefFoundError: infobuilder/check_0_1/check
Caused by: java.lang.ClassNotFoundException: infobuilder.check_0_1.check
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: infobuilder.check_0_1.check. Program will exit.
Exception in thread "main"
can anyone help me .
Anonymous
Not applicable
Author

Hi
Which OS? Can you show us the installation path?
Best regards
Shong
Anonymous
Not applicable
Author

im working in "windows 2003 server"
and this is the path which i installed "D:\TOS-All-r50363-V4.1.1\TOS-All-r50363-V4.1.1"
im working with the same background from last 3 months suddenly i got such error
Anonymous
Not applicable
Author

Hi Nilesh,
Have u added any new classpath variables in the environment variables or the classpath is set?. This error may some times come because of this
Anonymous
Not applicable
Author

nothing i did .. i was working asusual suddenly this error occured .
Anonymous
Not applicable
Author

Hi
Ok, can you please install a new studio into another folder? and then create a simple a job and test whether the problem still exists, if not, we will migrate all the jobs from old studio to the new one.
Note that: don't remove the old studio before you backup the projects.
Best regards
Shong