Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
zokan
Contributor

Multiple SLF4J bindings error! How to solve this problem

Hello community,

By wanting to keep the tMicrosoftCrmInput and tMicrosoftCrmOutput components, I receive this error after execution: SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/TOS_DI-8.0.1/studio/configuration/.m2/repository/org/apache/logging/log4j/log4j-slf4j- impl/2.13.2/log4j-slf4j-impl-2.13.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/TOS_DI-8.0.1/studio/configuration/.m2/repository/org/talend/libraries/slf4j-simple-1.7. 2/6.0.0/slf4j-simple-1.7.2-6.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

Deleting log4j-slf4j-impl-2.13.2 initially did not resolve the problem (I receive this error: Error: Could not find or load main class controle_gestion_dev.testss_0_1.testss Caused by: java. lang.ClassNotFoundException: project_name_dev.testss_0_1.testss. Then that of slf4j-simple-1.7.2 neither. I also tried to delete the two jars and redownloaded them. Still the same error.

 

Please help me, please.

Labels (1)
1 Reply
Shicong_Hong
Support

Hi

This is a common occurrence in Java jobs that have complicated dependencies on libraries, where SLF4J emits this warning to stderr before the logging framework initializes. The link in the error message explains the issue: "The warning emitted by SLF4J is just that, a warning. Even when multiple bindings are present, SLF4J will pick one logging framework/implementation and bind with it."

These are warning messages and is not an issue, it will not prevent the job execution.

Regards

Shong