Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6132

Mark Spring dependencies are provided

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: