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

Highlighted
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

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read