Skip to content

Log a warning when commons-logging is in the classpath #30575

@sdeleuze

Description

@sdeleuze

As mentioned in the reference documentation, spring-jcl provides its own Commons Logging bridge, with classes like org.apache.commons.logging.LogFactory.

When commons-logging:commons-logging dependency is in the classpath (either included directly or transitively via dependency like com.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 and commons-logging are found in the classpath, to hint about excluding such commons-logging dependency.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions