Good day,

It seems that apache-jena-2.7.4 and jena-sdb-1.3.5 are incompatible. I got
this error:

Exception in thread "main" java.lang.NoSuchMethodError:
com.hp.hpl.jena.sparql.algebra.optimize.TransformFilterEquality: method
<init>(Z)V not found

in this simple code:

                Store store = StoreFactory.create("mysql_store.ttl");
if (!StoreUtils.isFormatted(store)) {
store.getTableFormatter().create();
System.out.println("Now store is formatted!");
}
Model tmp = SDBFactory.connectDefaultModel(store);
StmtIterator sIter = tmp.listStatements();

I've downloaded the sources of jena and jena-sdb and noticed this at
QueryEngineSDB:107

op = Transformer.transform(new TransformFilterEquality(false), op) ;

but in apache-jena-2.7.4 TransformFilterEquality has
only TransformFilterEquality() constructor.

-- 
Best regards, Metcherin Sergey.

Reply via email to