Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4812

Dependency Conflict: different Jars contain the incompatible classes with the same name, which leads to NoSuchMethodException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.0.0
    • None
    • core
    • None

    Description

      Hi,  by analyzing the accumulo-core:2.0.0-SNAPSHOT  accumulo-master\core\pom.xml file, we found that several duplicate classes exist in different JARs: "commons-beanutils:commons-beanutils-core:1.8.0" and "commons-beanutils:commons-beanutils:1.7.0". As the JVM only load the classes present first on the classpath and shadow the other duplicate ones with the same name. It would throw the "NoSuchMethodException" or "NoSuchMethodError" if the duplicate classes are inconsistent! So we spend some energy to scan the different features between these duplicate classes. The conflicting details are listed in the attachment. Please pay attention to it. Hope our report can help you. Thanks .

       

      Attachments

        1. Conflicting details.txt
          16 kB
          PandaMonkey

        Activity

          People

            ctubbsii Christopher Tubbs
            PandaMonkey PandaMonkey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: