how to change jar dependecies from a component

Six Stars

how to change jar dependecies from a component

Hello,

I'm using tRestClient, and when building the job, it uses several slf4j jars (slf4j-simple-1.7.25, slf4j-log4j12-1.7.5,

slf4j-api-1.7.7, slf4j-api-1.7.5).

When trying to use log4j2 (instead of log4j), I get an error message:

SLF4J: class path contains multiple SLF4j bindins.

...

 

How can I change the jars that tRestClient uses so there will be no collision?

Thanks,

Moderator

Re: how to change jar dependecies from a component

Hello,

Have you tried to exclude one or more jars from a build?

If you are not sure which component needs these classes:
Export your job as jobscript and remove this library.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: how to change jar dependecies from a component

Hi, Sabrina. From a build it should be fine, but from the studio is another. if there's a way to change a component's jar dependency, I would like to try it.

 

Thanks

Moderator

Re: how to change jar dependecies from a component

Hello,

Are you intending to update a component's jar dependency?

Could you please give us more information about your requirement?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.