Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-805

There are dependency conflicts in apex-core/engine module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.0
    • None
    • None
    • None

    Description

      Hi, we found four pairs of JAR files in apex-core/engine contain duplicate classes.

      1. jar-pair:<org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016:><javax.servlet:servlet-api:2.5:>

      2. jar-pair:<javax.servlet:javax.servlet-api:3.0.1:><javax.servlet:servlet-api:2.5:>

      3. jar-pair:<javax.servlet:servlet-api:*2.5:><org.glassfish:*javax.servlet:3.1:>

      4. jar-pair:<com.google.inject:guice:4.0:no_aop><com.google.inject:guice:3.0:>

      Furthermore, by static analysis, we found these duplicate classes have different implementations. As the JVM only load the classes present first on the classpath and shadow the other duplicate ones with the same name. So the problem will lead to the "NoSuchMethodException" or "NoSuchMethodError". The conflicting details are listed in the attachment. Hope this can help you. Thanks!apex-core-conflicts.txt

      Attachments

        1. apex-core-conflicts.txt
          65 kB
          PandaMonkey
        2. compare.txt
          9 kB
          PandaMonkey

        Activity

          People

            Unassigned Unassigned
            PandaMonkey PandaMonkey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: