
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Java jar problem org/slf4j/spi/LoggerFactoryBinder
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 ?
- « Previous Replies
-
- 1
- 2
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have done it twice yesterday and the jar doesn't appear.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Does it work perfectly fine after re-starting your studio?
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
TalendInstall.tif

- « Previous Replies
-
- 1
- 2
- Next Replies »