Closed
Description
Sven Haster opened SPR-16062 and commented
spring-jcl has duplicated a number of classes from apache commons logging, such as org.apache.commons.logging.Log
spring-core has a dependency on spring-jcl and therefore everyone who has a dependency on spring-core gets these duplicate classes and has errors resulting from this if they also depend on commons logging or slf4j-jcl
This is less than ideal and goes against convention. It would be better to either a) have a dependency on commons-logging or b) if you really want to include these classes, change the package names to something like org.springframework.x.y
Affects: 5.0 GA
Issue Links:
- spring-jcl does not include exported packages of java commons logging [SPR-15957] #20509 spring-jcl does not include exported packages of java commons logging
- Revisit Commons Logging vs java.util.logging vs SLF4J vs Log4j 2 [SPR-14512] #19081 Revisit Commons Logging vs java.util.logging vs SLF4J vs Log4j 2