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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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 Praveen
Please recheck whether there is space in your talend installation path.
I will keep track of this topic.
Best regards!
Pedro
Anonymous
Not applicable
Author

I check the talend Configaration. Please check the print screen.
I would like to make sure your asking Disk space ?
Thank you,
Praveen
Anonymous
Not applicable
Author

We have 25 GB free space on Talend Installation path.
Anonymous
Not applicable
Author

Hi Pedro,
Could you please get back on our Java issue?
Thank you,
Praveen
Anonymous
Not applicable
Author

Hi Praveen
Sorry for my late response.
I mean whether there is a space in your Talend installation path which may lead to ClassNotFound error.
For example, "C:\Program Files\..."
If so, you need to change your installation path.
Best regards!
Pedro
Anonymous
Not applicable
Author

just something that may be unrelated
avoid spaces in the name of folders in your paths
(windows) have your path on a local disk - not a network drive.
Anonymous
Not applicable
Author

We are installed Talend administrator 4.1.2 which is in production and Development. I check the all the paths there is no space on all the paths. for your reference can you please find screen shot ( Configuration ) in this thread.
Thank you,
Praveen
Anonymous
Not applicable
Author

Hi
Which version of Talend Integration Suite do you use? Not only TAC version.
Have you checked the installation path of TIS?
It's werid.
Best regards!
Pedro
Anonymous
Not applicable
Author

We are using Talend Integration Suite 4.1.2.
We are checking installation path in "C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\Talend.war"
Talend Folder structure in this location "D:\Talend"
Archivejobs
Commandline
Executionlogs
Jobsdeploy
Jobserver
Logs
Recoveryjobs
Soamanager
Usercomponents
Thank you,
Praveen