On 23/02/16 22:23, Taher Labidi wrote:
Hi all,

I am using Jena 2.10 and SDB 1.3.5. I find the following error in this
command : dataset = SDBFactory.*connectDataset*(store);


An error occured

java.lang.NoSuchMethodError:
com.hp.hpl.jena.query.DatasetFactory.create(Lcom/hp/hpl/jena/sparql/core/DatasetGraph;)Lcom/hp/hpl/jena/query/Dataset;

       at com.hp.hpl.jena.sdb.store.DatasetStore.create(
*DatasetStore.java:34*)

       at com.hp.hpl.jena.sdb.SDBFactory.connectDataset(*SDBFactory.java:149*
)

Any ideas please ?

The users list is at [email protected]

Java error meaning what was there at compile time isn't there at run time. Usually due to version mismatch.

Use maven (or etc) to manage your code dependencies and this will not happen.

See
http://central.maven.org/maven2/org/apache/jena/jena-sdb/1.3.5/jena-sdb-1.3.5.pom

SDB 1.3.5 was for Jena 2.7.3 not 2.10.

All are quite old.


        Andy







Reply via email to