Hi David, could you list the jars you have in the classpath? You might have updated TDB but not Jena and/or ARQ.
If you want you could install and/or use Maven [1]. That way you can point to TDB and be sure all the necessary dependencies are retrieved by Maven for you. Doing that manually from the SNAPSHOTs is not IMHO advisable since it's easy to make mistakes. However, if you want it's possible. Check in the TDB pom.xml [2] the version of jena-core and jena-arq which are required and make sure you have those in your classpath (as well as all the transitive dependencies). Or, wait for the release and download the .zip binary distribution with all the necessary jars (with the right version) in it. Paolo [1] http://maven.apache.org/download.html#Unix-based_Operating_Systems_Linux_Solaris_and_Mac_OS_X [2] https://repository.apache.org/content/repositories/snapshots/org/apache/jena/jena-tdb/0.9.0-incubating-SNAPSHOT/jena-tdb-0.9.0-incubating-20111215.030823-82.pom David Patterson wrote: > Results of tests -- > > 1) I made sure there was a file that defined the as:Place type and > that it was read > before the file that had failed. I got the NoSuchElementException on both > files! > > 2) I downloaded the latest snapshot. When I ran with it, I had a failure > before the code got to where it failed before: > > > Exception in thread "main" java.lang.NoSuchMethodError: > com.hp.hpl.jena.rdf.model.impl.RDFWriterFImpl.setBaseWriterClassName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; > at org.openjena.riot.SysRIOT.wireIntoJena(SysRIOT.java:93) > at org.openjena.riot.RIOT.init(RIOT.java:61) > at com.hp.hpl.jena.query.ARQ.init(ARQ.java:451) > at com.hp.hpl.jena.query.ARQ.<clinit>(ARQ.java:456) > at com.hp.hpl.jena.tdb.TDB.<clinit>(TDB.java:94) > at com.hp.hpl.jena.tdb.sys.SetupTDB.<clinit>(SetupTDB.java:70) > at > com.hp.hpl.jena.tdb.sys.DatasetGraphSetup.createDatasetGraph(DatasetGraphSetup.java:35) > at > com.hp.hpl.jena.tdb.sys.CachingTDBMaker.createDatasetGraph(CachingTDBMaker.java:58) > at > com.hp.hpl.jena.tdb.sys.TDBMaker._createDatasetGraph(TDBMaker.java:91) > at > com.hp.hpl.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:105) > at com.hp.hpl.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:96) > at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:75) > at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:71) > > Dave Patterson
