Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6898

Dependency conflict problems in different JARs <org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1:><org.apache.geronimo.specs:geronimo-jms_2.0_spec:1.0-alpha-2:>, which brings high risks of NoSuchMethodException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.15.3
    • None
    • AMQP

    Description

      Hi, same classes exist in two different JARs: <org.apache.geronimo.specs:geronimo-jms_1.1_spec:*1.1.1:> and <*org.apache.geronimo.specs:geronimo-jms_2.0_spec:1.0-alpha-2:>.

      The same problem also exist in JAR pair <commons-beanutils:commons-beanutils-core:1.8.0:> and <commons-beanutils:commons-beanutils:1.9.3:>.

       And after further analyzing the source code, we found that these duplicate classes have different implementations, which would leads to the NoSuchMethodException! If the classes with the same name on the classpath, then the only the first present one can be loaded. So it affects the program behaviors. The differences between are listed in the attachment. Hope this can help you.  Thanks!

       

      Attachments

        1. activemq-amqp—conflicts.txt
          15 kB
          PandaMonkey

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: