Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2078

java.lang.NoClassDefFoundError: org/apache/thrift/TException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • Jena 4.0.0
    • None
    • Core, RIOT
    • None

    Description

      Snapshot 4.0.0-20210326.112956-34 produces an exception in previously working code. I wiill pin an earlier snapshot until resolved. Please let me know if you need more research on my part.

      The exception is thrown here:

      Model shapesGraph = ModelFactory.createDefaultModel();

      Exception:

      Caused by: java.lang.NoClassDefFoundError: org/apache/thrift/TException
      {{ at org.apache.jena.riot.system.InitRIOT.start (InitRIOT.java:30)}}
      {{ at org.apache.jena.sys.JenaSystem.lambda$init$2 (JenaSystem.java:117)}}
      {{ at java.util.ArrayList.forEach (ArrayList.java:1511)}}
      {{ at org.apache.jena.sys.JenaSystem.forEach (JenaSystem.java:192)}}
      {{ at org.apache.jena.sys.JenaSystem.forEach (JenaSystem.java:169)}}
      {{ at org.apache.jena.sys.JenaSystem.init (JenaSystem.java:115)}}
      {{ at org.apache.jena.rdf.model.ModelFactory.<clinit> (ModelFactory.java:48)}}
      {{ at won.shacl2java.testutil.Shacl2JavaTestSourcesGenerator.loadShapes (Shacl2JavaTestSourcesGenerator.java:30)}}

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            fkleedorfer Florian Kleedorfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: