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.

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

An API-First Approach to Modernizing Applications

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

Watch Now