Class path contains multiple SLF4J bindings

Highlighted
Five Stars

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

Employee

Re: Class path contains multiple SLF4J bindings

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

Highlighted
Five Stars

Re: Class path contains multiple SLF4J bindings

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

 

 

Highlighted
Eight Stars

Re: Class path contains multiple SLF4J bindings

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

Highlighted
Five Stars

Re: Class path contains multiple SLF4J bindings

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?

Highlighted
Employee
Employee

Re: Class path contains multiple SLF4J bindings

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

Highlighted
Employee

Re: Class path contains multiple SLF4J bindings

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

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog