Rafa Haro created STANBOL-1408:
----------------------------------

             Summary: EntityHub Generic RDF Indexer not working because of 
jena-tdb dependency problem
                 Key: STANBOL-1408
                 URL: https://issues.apache.org/jira/browse/STANBOL-1408
             Project: Stanbol
          Issue Type: Bug
          Components: Entityhub
    Affects Versions: 1.0.0
            Reporter: Rafa Haro
            Assignee: Rafa Haro
            Priority: Critical
             Fix For: 1.0.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to