Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
EngieNL
Contributor
Contributor

Class path contains multiple SLF4J bindings

Hello

 

I have a job that loads data from SAP to Salesforce, but these 2 components require a different SLF4J library.

 

Stack trace:

"SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/TalendWorkspace/.Java/lib/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/TalendWorkspace/.Java/lib/slf4j-log4j12-1.7.2.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.slf4j.impl.Log4jLoggerFactory]"

 

Is there anyway libraries can be excluded?

 

Regards

Labels (4)
6 Replies
Anonymous
Not applicable

There are just warnings right?  Or are these preventing the job from running?

EngieNL
Contributor
Contributor
Author

These are preventing the job from running. 

I use both the connection components, and it run s into an error :

 

 

[statistics] connecting to socket on port 3895
[statistics] connected
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/TalendWorkspace/.Java/lib/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/TalendWorkspace/.Java/lib/slf4j-log4j12-1.7.2.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.slf4j.impl.Log4jLoggerFactory]
Exception in component tSalesforceConnection_2 (AccountEvents)
java.lang.RuntimeException: IOException: com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...</accessibilityMode><chatterExternal>... @1:789
at sf_b2b.accountevents_0_1.AccountEvents.tSalesforceConnection_2Process(AccountEvents.java:2109)
at sf_b2b.accountevents_0_1.AccountEvents.tSetProxy_1Process(AccountEvents.java:1917)
at sf_b2b.accountevents_0_1.AccountEvents.runJobInTOS(AccountEvents.java:6386)
at sf_b2b.accountevents_0_1.AccountEvents.main(AccountEvents.java:5791)
[FATAL]: sf_b2b.accountevents_0_1.AccountEvents - tSalesforceConnection_2 IOException: com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...</accessibilityMode><chatterExternal>... @1:789

 

 

nmodi
Creator
Creator

I am having same issue & it is also preventing from running my jobs, Any idea on solution?

EngieNL
Contributor
Contributor
Author

Currently it appears that there was a problem in the connect for Salesforce. So the job is running with warnings because of multiple bindings.

Is there a solution for this issue?

Anonymous
Not applicable

Can i ask a sample job to verify a workaround is possible?

Anonymous
Not applicable

Hi, 

This is blocking job execution, here is the console log.

any solution or work around?

 

tarting job sendJMS 

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Talend/7.1.1/studio/studio/configuration/.m2/repository/org/talend/libraries/activemq-all-5.15.5/6.0.0-SNAPSHOT/activemq-all-5.15.5-6.0.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Talend/7.1.1/studio/studio/configuration/.m2/repository/org/talend/libraries/slf4j-log4j12-1.7.5/6.0.0/slf4j-log4j12-1.7.5-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.slf4j.impl.Log4jLoggerFactory]

i found this http://www.slf4j.org/codes.html#multiple_bindings