-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
After splitting Spring into 2 modules (embedded and remote) and introducing Uber jars, it is very easy to hit an error like this:
java.lang.NoSuchMethodError: org.infinispan.commons.logging.BasicLogFactory.getLog(Ljava/lang/Class;)Linfinispan/org/jboss/logging/BasicLogger;
It turns out that Wildfly ships its own JBoss Modules [1] and it conflicts the relocated one from Uber Jars.
The easiest fix for it is to make all Spring module dependencies provided.
[1] https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments