One Star

NoClassDefFoundError

Hi all,

when i am executing any job in different project i am getting below error.
I checked in code viewer it is blank.
Just now i am facing this problem .


java.lang.NoClassDefFoundError: sap_jobs/gbu_full_run_sap_export_jul_18_2013_0_1/GBU_Full_Run_SAP_Export_Jul_18_2013
Caused by: java.lang.ClassNotFoundException: sap_jobs.gbu_full_run_sap_export_jul_18_2013_0_1.GBU_Full_Run_SAP_Export_Jul_18_2013
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: sap_jobs.gbu_full_run_sap_export_jul_18_2013_0_1.GBU_Full_Run_SAP_Export_Jul_18_2013. Program will exit.
Exception in thread "main"

Thanks
kumar.talend
3 REPLIES
Moderator

Re: NoClassDefFoundError

Hi,
What's the talend product version are you using?
Did these job run successfully before? Did you export it? Is it repro when you restart your studio?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: NoClassDefFoundError

Hi Sabrina,
Thanks for your feedback.
We are using TOS 5.3.1
Last 2 days on-wards i am getting that error.
Now when i run the job, i am not getting previous error.
But i am getting new error for all jobs.The error is below one.
"Execution failed : Failed to generate temporary files.
".

But When i open TOS with admin privileges.
All jobs are running successfully .
How to fix this one?
Thanks.
kumar.talend
Moderator

Re: NoClassDefFoundError

Hi,
"Execution failed : Failed to generate temporary files.
".

But When i open TOS with admin privileges.
All jobs are running successfully .

I suspect it is permission issue. It is better to avoid installing talend studio in program files.(In other hard disk)
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.