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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
stapsey
Contributor
Contributor

Get NoClassDefFoundError when I try and run a job (New Installation)

Hi
I've just downloaded a Talend Open Studio for Big Data (TOS_BD-20161026_1219-V6.3.0) with Java re1.8.0_112 and when I try and run a job I get the following error:
Starting job TestJob at 07:02 20/11/2016.

java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
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)
... 7 more
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" 
Job TestJob ended at 07:02 20/11/2016. [exit code=1]

Does anyone have any ideas?

Thanks

Labels (2)
3 Replies
Anonymous
Not applicable

Hi,


Does this issue repro on all your jobs or a specific job?


Could you please go to Window > Preferences > Installed JREs, selecting Edit and browsing for the appropriate JRE (jdk1.8.0_XXX in your case) to see if it works?


Best regards



Sabrina

stapsey
Contributor
Contributor
Author

Sabrina
Thank you that worked. I had to remove the bin from the directory path. Bin was in the second column and then all of the Jars appeared and the job ran as expected.
Much appreciated
Ian
Anonymous
Not applicable

Hi Ian,
Thanks for your prompt reply. Could you please mark this topic as resolved?
Best regards
Sabrina