Stack Overflow works best with JavaScript enabled. You can always use ANY version of slf4j-api. Mixing mixing different versions of slf4j-api. The error I get is the infamous: By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. I would need to add this, but same dependency with two different versions is not allowed: The link provided in the error message, " http:
Uploader: | Mezikinos |
Date Added: | 23 October 2006 |
File Size: | 6.86 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 68730 |
Price: | Free* [*Free Regsitration Required] |
Download slf4j-api JAR 1.7.1 with all dependencies
NOTE From the client's perspective all versions of slf4j-api are compatible. So the problem is: Client code compiled with slf4j-api-N. Please add the error you are getting.
Basically, beware of having multiple versions of slf4j jars in classpath. Improving the question-asking experience.
BoneCP is bound needs 1. Sign up or log in Sign up using Google. Maven takes care of the transitive dependencies and I suspect it will pull in 1. Unicorn Meta Zoo 9: Active 1 year, 1 month ago.
Index of /nexus/content/repositories/central/org/slf4j/slf4j-api//
I'm resigning as a moderator from all Stack Exchange sites, effective today. Given that all versions of slf4j-api are interchangeable from the clients perspective, in the scenario where different versions of slf4j-api and its binding e. You can always guarantee a version by declaring it explicitly in slf4j-api-1.7.1.jwr project's POM. I would need to add this, but same dependency with two different versions is not allowed: The error I get is the infamous: Also, you should not be adding SLF4J to your POM just because other dependencies use it - you only slf4j-api-17.1.jar to add it if you use it directly.
By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Dependency mediation - this determines what version of a dependency will be used when multiple versions of an artifact are slf4j-a;i-1.7.1.jar.
Stack Overflow works best with JavaScript enabled. I have a project that use both dependencies independently: Mixing mixing different versions of slf4j-api.
Subscribe to RSS
How do we handle problem users? Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Email Required, but never shown. The link provided in the error message, " http: Binita Bharati Binita Bharati 1, 20 20 silver badges 16 16 bronze badges.

That should get rid of the slf4j-apl-1.7.1.jar clash for good. Sign up using Email and Password. See also Introduction to the Dependency Mechanism which states:.
Index of /repositories/public/org/slf4j/slf4j-api/
Asked 7 years, 8 months ago. The requested version 1. See also Introduction to the Dependency Mechanism which states: I had got the same error. As you know it is not possible to important two different versions of the same dependency in your pom.
Comments
Post a Comment