-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.16.0.Final
-
None
-
None
-
Undefined
I make sure there are no duplicate classes on the classpath using relevant maven module. When switching our EJB client project which uses wildfly-ejb-client-bom to version 24.0.0.SP1 (.Final too) it pulled wildfly-elytron version 1.16.0.Final (.CR1 with .Final) and caused the following validation error:
[WARNING] Found duplicate and different classes in [org.jboss.logging:jboss-logging:3.4.2.Final, org.wildfly.security:wildfly-elytron:1.16.0.Final]: [WARNING] org.jboss.logging.Log4j2Logger [WARNING] org.jboss.logging.LoggerProviders [WARNING] Found duplicate classes/resources in compile classpath. [WARNING] Found duplicate and different classes in [org.jboss.logging:jboss-logging:3.4.2.Final, org.wildfly.security:wildfly-elytron:1.16.0.Final]: [WARNING] org.jboss.logging.Log4j2Logger [WARNING] org.jboss.logging.LoggerProviders [WARNING] Found duplicate classes/resources in test classpath.
Were the classes the same there would be no problem really (just add to ignored), but they're different versions. Why bundle anyway?
- relates to
-
ELY-2099 Bundled slf4j classes create conflict.
- Reopened