Class path contains multiple SLF4J bindings

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?

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

 

 

Seven 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?

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?

Employee Ram
Employee

Re: Class path contains multiple SLF4J bindings

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

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch