Five Stars

NoClassDefFoundError during Metadata creation for delimited file

 

The following error is found when creating Metadata for new Delimited File :

 

java.lang.NoClassDefFoundError: Exception
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: Exception
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)

I have tried changing the encoding types, tried for other file types ... all with the same result. I don't exactly know which encoding scheme has been used.

 

I'm using Talend Studio 6.5.1 (It has its own jre 1.8.0_131)

1 ACCEPTED SOLUTION

Accepted Solutions
Five Stars

Re: NoClassDefFoundError during Metadata creation for delimited file

Solved. I downgraded to Java 1.8.0_131.

1 REPLY
Five Stars

Re: NoClassDefFoundError during Metadata creation for delimited file

Solved. I downgraded to Java 1.8.0_131.