Uploaded image for project: 'Marmotta'
  1. Marmotta
  2. MARMOTTA-560

ArchiveLoader tests fail because of NoClassDefFoundError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: KiWi Triple Store
    • Labels:
      None

      Description

      java.lang.NoClassDefFoundError: org/tukaani/xz/FilterOptions
      	at org.apache.commons.compress.archivers.sevenz.Coders.<clinit>(Coders.java:47)
      	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecoderStack(SevenZFile.java:853)
      	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecodingStream(SevenZFile.java:820)
      	at org.apache.commons.compress.archivers.sevenz.SevenZFile.getNextEntry(SevenZFile.java:151)
      	at org.apache.marmotta.loader.core.MarmottaLoader.loadArchive(MarmottaLoader.java:301)
      	at org.apache.marmotta.loader.core.MarmottaLoader.load(MarmottaLoader.java:112)
      	at org.apache.marmotta.loader.core.test.LoaderTestBase.testAutoLoad(LoaderTestBase.java:84)
      ...
      

      Looks like the transitive dependency for commons-compress is missing:

          <dependency>
            <groupId>org.tukaani</groupId>
            <artifactId>xz</artifactId>
            <version>1.5</version>
            <optional>true</optional>
          </dependency>
      

        Attachments

          Activity

            People

            • Assignee:
              wastl Sebastian Schaffert
              Reporter:
              jakob Jakob Frank
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: