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
_AnonymousUser
Specialist III
Specialist III

I have the same issue. win 10. java 8_91 and talend 6.2.1...
Window > Preferences > Installed JREs seems to be ok.
what else can cause this error while trying to add excel to metadata?
thanks
Anonymous
Not applicable

Hi,
Could you please try to  jre 1.8.0_51 instead? It seems that there is something wrong with jre 1.8.0_92.
Let us know if it is Ok with you.
Best regards
Sabrina
Anonymous
Not applicable

Thanks - downgrading to JAVA 8 update 51 solves the issue
Anonymous
Not applicable

Hi danny,
Thanks for your feedback.
Feel free to post your issue on forum.
Best regards
Sabrina
Anonymous
Not applicable

Hi everyone,
I had same issue and solved by just moving JDK path to the beginning of PATH system variable.
Now my PATH var starts with:
 "C:\Program Files\Java\jdk1.8.0_51\bin;C:\ProgramData\Oracle\Java\javapath;..."
- Win7Pro + JDK 1.8.0_51 (x64)
- TOS ESB 6.3.0 ( Window > Preferences > Installed JREs only shows 1.0.0_51 )
Anonymous
Not applicable

Hi Suketta,
Thanks for sharing your solution with us.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

I too faced preview issues. Above all the Informations helped me lot. Thanks for all. Btw If you faced  Preview error,
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
Solutions:
1. Check your Java (JDK and JRE) Installed properly 
2. Your Java version and Talend version is both suitable or not
3. In the Environment variable > System variable Java JRE path should mention on first (Start's from Java to other paths)
4. Check your Windows > Preferences > Java > Installed JRE's > showing java path or not. It must show.
I hope above list of steps help you to fix preview error. I resolved by above steps.
Thanks,
Sabari 
_AnonymousUser
Specialist III
Specialist III

I too faced preview issues. Above all the Informations helped me lot. Thanks for all. Btw If you faced Preview error,

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
Solutions:
1. Check your Java (JDK and JRE) Installed properly 
2. Your Java version and Talend version is both suitable or not
3. In the Environment variable > System variable Java JRE path should mention on first (Start's from Java to other paths)
4. Check your Windows > Preferences > Java > Installed JRE's > showing java path or not. It must show.
I hope above list of steps help you to fix preview error. I resolved by above steps.
Thanks,
Sabari 
Anonymous
Not applicable

Hi Sabamanu,
Thanks for sharing your solution with us.
Best regards
Sabrina
Anonymous
Not applicable

Hi,

I have a TOS_BD-20170510_1410-V6.4.0 version running on WINDOWS 10 

Java version jdk1.8.0_162 and before I  tried jdk1.8.0_20

the same problem to open excel or csv file

get error: 


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

 

do you have some solution for me?

thank you

marina