commons-logging:commons-logging should not be a transitive dependency
See original GitHub issueSpring projects should use Spring Framework’s spring-jcl
module (a dependency of spring-core
) in place of commons-logging:commons-logging
, however spring-data-elasticsearch
pulls in commons-logging:commons-logging
transitively. Can it please be excluded so that users don’t end up with two different set of Commons Logging classes on their classpath?
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Implementing SLF4J in an application with many transitive ...
Spring using JCL (Jakarta common logging) for its logging, so it is bringing in commons-logging as a transitive dependency. This is a potential ......
Read more >Log4j Commons Logging Adaptor – Project Dependencies
Transitive dependencies are the dependencies of the project dependencies. test. The following is a list of test dependencies for this project.
Read more >Logging - Strongbox
Dependencies which have transitive dependencies on different versions of the libraries below, will most-likely cause dependency conflicts: log4j; commons- ...
Read more >excluding transitive dependencies - Google Groups
I know it's not being brought in by another dependency because I can change the commons-validator dependency to intransitive and the commons-logging jar ......
Read more >How to fix java.lang.ClassNotFoundException: org.apache ...
commons.logging.LogFactory error in Java. It can come even if you are not using commons-logging directly but using a library like Spring, Hibernate, or ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed in main, 4.3.x, 4.x.2 and 4.1.x
Excellent. Just in case it’s still useful, here’s a minimal Gradle script that shows the problem: