Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm on TDI 6.2 and i have this issue using JSONs composants :
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at com.jayway.jsonpath.Configuration.<clinit>(Configuration.java:39)
[statistics] disconnected
at com.jayway.jsonpath.internal.JsonReader.<init>(JsonReader.java:43)
at com.jayway.jsonpath.JsonPath.parse(JsonPath.java:578)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.tFileInputDelimited_2Process(jCLTPRAGestionActif.java:1136)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.runJobInTOS(jCLTPRAGestionActif.java:1711)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.main(jCLTPRAGestionActif.java:1491)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Someone have the same issue ?
Hello,
We cannot repro this missing jar issue on V 6.4.1 from our side.
We suppose that your studio is not installed completely. Could you please try to re-install your studio to see if it works?
Thanks for your time.
Best regards
Sabrina
How do you execute your job?
Your launch the jar or you just click "Run" button in Talend?
If you just click run try to click at the top of talend: "window -> show view -> Talend -> modules"
The view open -> click on the green arrow at the top right corner -> install all modules.
Hello,
@Clopes wrote:
Hi all,
I'm on TDI 6.2 and i have this issue using JSONs composants :
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at com.jayway.jsonpath.Configuration.<clinit>(Configuration.java:39)
[statistics] disconnected
at com.jayway.jsonpath.internal.JsonReader.<init>(JsonReader.java:43)
at com.jayway.jsonpath.JsonPath.parse(JsonPath.java:578)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.tFileInputDelimited_2Process(jCLTPRAGestionActif.java:1136)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.runJobInTOS(jCLTPRAGestionActif.java:1711)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.main(jCLTPRAGestionActif.java:1491)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Someone have the same issue ?
This is a missing jar issue. Could you please check if slf4j-api.jar and slf4j-log4j12.jar are completely installed in your project?
Best regards
Sabrina
Thanks for both replies.
I have updated all jar in the module window.
If i search for the slf4j-api.jar and i find :
slf4j-api-1.6.1.jar, slf4j-api-1.7.10.jar, slf4j-api-1.7.12.jar, slf4j-api-1.7.2.jar, slf4j-api-1.7.25.jar, slf4j-api-1.7.5.jar, slf4j-api-1.7.6.jar and slf4j-api.jar just for contexte tRules and tFireRulesVirtual.
For slf4j-log4j12.jar :
slf4j-log4j12-1.7.5.jar, slf4j-log4j12-1.7.10.jar, slf4j-log4j12-1.6.1.jar.
I still have the error.
Try to search the exact jar on the internet and download it.
Do the same procedure I said earlier but instead of click on the green arrow, click on the real jar icon (import external jar).
And select your downloaded jar.
I have done it twice yesterday and the jar doesn't appear.
Hello,
Does it work perfectly fine after re-starting your studio?
Best regards
Sabrina
No,
I still have the error for the tExtractJSONField
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
[statistics] disconnected
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at com.jayway.jsonpath.Configuration.<clinit>(Configuration.java:39)
at com.jayway.jsonpath.internal.JsonReader.<init>(JsonReader.java:43)
at com.jayway.jsonpath.JsonPath.parse(JsonPath.java:578)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.tFileInputDelimited_2Process(jCLTPRAGestionActif.java:1136)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.runJobInTOS(jCLTPRAGestionActif.java:1711)
at clients.jcltpragestionactif_0_1.jCLTPRAGestionActif.main(jCLTPRAGestionActif.java:1491)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 20 more
Hello,
We cannot repro this missing jar issue on V 6.4.1 from our side.
We suppose that your studio is not installed completely. Could you please try to re-install your studio to see if it works?
Thanks for your time.
Best regards
Sabrina
So the only solution for a jar problem is to reinstall the complete TDI ?
I'm on Talend Data Integration
Version: 6.2.1
Build id: 20160704_1411