On 13/05/14 13:19, Harkishan Singh wrote:
Hi,

While reading rdf from tdb I'm getting this exception:

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

at line:

dataset = TextDatasetFactory.createLucene(tdbDataset, dir, entDef);


Does anyone know hoe to fix it.

Thanks in advance


This is usually due to an incompatible mix of versions of jar files on the classpath, including the possibility of having one or more jar files on multiple times, with different versions.

        Andy

Reply via email to