[infinispan-issues] [JBoss JIRA] (ISPN-6132) Mark Spring dependencies are provided
Tristan Tarrant (JIRA)
issues at jboss.org
Fri Mar 18 09:42:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-6132:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Final
9.0.0.Alpha1
Resolution: Done
> Mark Spring dependencies are provided
> -------------------------------------
>
> Key: ISPN-6132
> URL: https://issues.jboss.org/browse/ISPN-6132
> Project: Infinispan
> Issue Type: Enhancement
> Components: Spring Integration
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Fix For: 9.0.0.Final, 9.0.0.Alpha1
>
>
> After splitting Spring into 2 modules (embedded and remote) and introducing Uber jars, it is very easy to hit an error like this:
> {code}
> java.lang.NoSuchMethodError: org.infinispan.commons.logging.BasicLogFactory.getLog(Ljava/lang/Class;)Linfinispan/org/jboss/logging/BasicLogger;
> {code}
> 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
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list