Log a warning when commons-logging
is in the classpath
#30575
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
As mentioned in the reference documentation,
spring-jcl
provides its own Commons Logging bridge, with classes likeorg.apache.commons.logging.LogFactory
.When
commons-logging:commons-logging
dependency is in the classpath (either included directly or transitively via dependency likecom.opencsv:opencsv
for example), it leads to dulicated classpath entries on the JVM and broken native compilation due to a build-time initialization error (see oracle/graal#6711 related issue).This issue intends to introduce a warning when both
spring-jcl
andcommons-logging
are found in the classpath, to hint about excluding suchcommons-logging
dependency.The text was updated successfully, but these errors were encountered: