Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Java Classes Not Found

Hello Talend Team,
For the second time the following has happened to our production and development Talend environments: All jobs fail to run due to Class not found errors.
Our Talend Servers are Windows servers and the appearance is as if the run time environment has been initialized or the class path points to a location that does not contain any Java objects. Regenerate and Deploy fixes the problem but we need to know what the root cause for this issue is. We have checked with our Intel Admin who control the servers and they claim no security patches went in prior to this issue happening. Could it be a memory leak on the servers (since they don't get rebooted frequently) that ultimately writes over some part of the memory? Any other ideas or experiences with this issue?
Here are samples of errors we see:
java.lang.NoClassDefFoundError: org/talend/salesforce/SforceManagement
Caused by: java.lang.ClassNotFoundException: org.talend.salesforce.SforceManagement
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: devprojects.lendersnapshotdataimport_1_1.LenderSnapshotDataImport. Program will exit.
Exception in thread "main"
////////
java.lang.NoClassDefFoundError: devprojects/bussinessplandataimport_1_0/BussinessPlanDataImport
Caused by: java.lang.ClassNotFoundException: devprojects.bussinessplandataimport_1_0.BussinessPlanDataImport
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: devprojects.bussinessplandataimport_1_0.BussinessPlanDataImport. Program will exit.
Exception in thread "main"
///////
java.lang.NoClassDefFoundError: javax/mail/Message
Caused by: java.lang.ClassNotFoundException: javax.mail.Message
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: devprojects.sfdc_daily_updatelenders_1_0.SFDC_Daily_UpdateLenders. Program will exit.
Exception in thread "main"

Thank you,
Praveen
Labels (4)
13 Replies
Anonymous
Not applicable
Author

Hi
Even in the installation path of tomcat, you have to avoid spaces.
Change it into C:\Tomcat7\webapps\Talend.war
It's the bug of JDK.
Sometimes it will cause unknown errors.
Best regards!
Pedro
Anonymous
Not applicable
Author

Thank you - Pedro.
I remove the space on Tomcat in C: drive and Registry. After removing the space on both places and run the tomcat service it will give the error like unexpected error. Can you please give the suggestions on Tomcat removing and edit the space?
Thank you,
Praveen
Anonymous
Not applicable
Author

Hi
How do you remove the space? You'd better reinstall tomcat, instead of renaming the dericotry.
I suggest that you should reset your development environment(JDK,Tomcat,TIS) after you encounted so many errors.
Set the installation path at Installation Wizzard.
Best regards!
Pedro
Anonymous
Not applicable
Author

Thank you - Pedro.
Praveen