how to change jar dependecies from a component

Highlighted
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,

Highlighted
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.
Highlighted
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.

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

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

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now