On 14/04/13 16:35, David Jordan wrote:
I was trying to set up a build/run environment that would work for both SDB and
TDB. The past few weeks I have been focused on getting everything running with
TDB and making some improvements to my benchmark harness. Now I am trying to go
back and run everything with SDB again. But it seems I don’t have the right set
of jars. When I try to run the sdbconfig, I get the following exception.
[java] Exception in thread "main" java.lang.NoSuchMethodError:
arq.cmdline.ArgDecl.<init>(ZLjava/lang/String;Ljava/lang/String;)V
[java] at sdb.cmd.ModStore.<init>(ModStore.java:52)
[java] at sdb.cmd.CmdArgsDB.<init>(CmdArgsDB.java:45)
[java] at sdb.sdbconfig.<init>(sdbconfig.java:47)
[java] at sdb.sdbconfig.main(sdbconfig.java:42)
The jars I am running with include:
jena-arq-2.10.1-SNAPSHOT.jar
jena-core-2.10.1-SNAPSHOT.jar
jena-iri-0.9.6-SNAPSHOT.jar
jena-sdb-1.3.6-SNAPSHOT.jar
jena-tdb-0.10.1-SNAPSHOT.jar
That looks right but as they are SNAPSHOTs, so you do need the ones from
the same build cycle. If you grabbed those at different times, (e.g.
ARQ or SDB) they can still be out of step. (Ditto old jars sneakign
onto the classpath.)
The SDB build zip will have a consistent set as will "mvn
--update-snapshots" (= -U)
I just checked SDB and it compiles. Maybe
ArgDecl did have an internal change March 22nd so ARQ and SDB need to be
both before or both after that date.
Does anything look wrong with this combination of jars?
Deleting all and getting a clean set is usually a good idea to get a
consistent starting point (yes - I've been bitten by this before!)
Andy
-----Original Message-----
From: Andy Seaborne [mailto:[email protected]]
Sent: Thursday, April 04, 2013 3:25 PM
To: [email protected]
Subject: Re: jar question
On 04/04/13 19:21, David Jordan wrote:
Did you mean SDB 1.3.5 or 1.3.6 SNAPSHOT ?
-----Original Message-----
From: Andy Seaborne [mailto:[email protected]]
You can use latest SDB 1.3.5-SNAPSHOT with Jens 2.10.1-SNAPSHOT (TDB
0.10.1-SNAPSHOT)
Andy
Latest - 1.3.6-SNAPSHOT
That is, if you want TDB 0.10.1-SNAPSHOT, you'll need the current development
build of everything:
Common artifact
org.apache.jena:apache-jena-libs:2.10.1-SNAPSHOT
SDB:
org.apache.jena:jena-sdb:1.3.6-SNAPSHOT
Andy