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

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