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: 
shrikavi2008
Contributor
Contributor

java.lang.NoClassDefFoundError: Integer

Hi,
I'm using TOS 6.1.1 and getting below error while running my simple which has only one component tMsgBox.
And using JDK 7 and Windows 7.  My Executable files/setup is in C:\Talend\TOS_DI-20151214_1327-V6.1.1

Starting job test at 10:47 22/01/2016.
java.lang.NoClassDefFoundError: Integer
 at java.lang.Class.getDeclaredMethods0(Native Method)
 at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
 at java.lang.Class.getMethod0(Unknown Source)
 at java.lang.Class.getMethod(Unknown Source)
 at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
 at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
 at java.net.URLClassLoader$1.run(Unknown Source)
 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)
 ... 6 more
Exception in thread "main"
Job test ended at 10:47 22/01/2016.




































































































Regards,
R.Bharath
Labels (3)
22 Replies
Anonymous
Not applicable

Hello,

Please ensure JDK bin is included in your PATH environment variable and is being reached. Could you please try to reinstall your TOS_BD-20170510_1410-V6.4.0 to see if it works?

Best regards

Sabrina

Anonymous
Not applicable

I am phasing same error for my first job:

 

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"

 

Please help me to resolve this. My Talend version is 6.4 and java -jre1.8.0_171

Anonymous
Not applicable

Hello,

For v6 of Talend products JDKv1.8 is required instead of JRE.

Could you please go to Window > Preferences > Installed JREs, select Edit and browse for the appropriate JDK?

Best regards

Sabrina