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

ArchiveLoader tests fail because of NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • KiWi Triple Store
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: