Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.0.0
Description
After building the generic rdf indexer, when you run the shaded jar for indexing a dataset, the following exception is raised:
Exception in thread "Thread-1" java.lang.NoSuchMethodError: com.hp.hpl.jena.tdb.solver.stats.Stats.write(Ljava/lang/String;Lcom/hp/hpl/jena/tdb/solver/stats/StatsCollector;)V
at org.apache.stanbol.entityhub.indexing.source.jenatdb.DestinationTripleGraph.finishBulk(DestinationTripleGraph.java:132)
at org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfResourceImporter.importResource(RdfResourceImporter.java:73)
at org.apache.stanbol.entityhub.indexing.core.source.ResourceLoader.loadResource(ResourceLoader.java:217)
at org.apache.stanbol.entityhub.indexing.core.source.ResourceLoader.loadResources(ResourceLoader.java:153)
at org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSource.initialise(RdfIndexingSource.java:340)
at org.apache.stanbol.entityhub.indexing.core.impl.IndexingSourceInitialiser.run(IndexingSourceInitialiser.java:43)
at java.lang.Thread.run(Thread.java:745)
The exception is produced because of a bad jena-tdb dependency inherited from the parent 6-SNAPSHOT. Specifically, jena-tdb version 1.0.1 is being included in the shaded jar when 0.10.0 is needed