Andy,
Thanks for the response.
I am getting classnotfound and methodnotfound errors when I try and run queries
in fuseki, I'm assuming because I have some sort of library mismatch.
I'm trying to get a fuseki-0.2.6 endpoint running and pulling from what I
believe is an sdb-1.3.4 database, do you have any advice on what versions of
the jars I should try looking at? Right now, I'm running into the following
when I run a SPARQL query:
java.lang.NoSuchMethodError:
org.apache.jena.atlas.io.IndentedWriter.print(Ljava/lang/String;)V
etc etc
the versions of the jars I am using are:
arq-2.8.8.jar
jena-2.6.4.jar
mysql-connector-java-5.1.19.jar
iri-0.8.jar
jena-sdb-1.3.6-20130312.095818-13.jar
ReconnectingSDB-0.1-SNAPSHOT.jar
When using the sdb-1.3.4.jar instead of the new version, Fuseki fails with the
following:
Exception in thread "main" java.lang.NoSuchMethodError:
com.hp.hpl.jena.query.DatasetFactory.create(Lcom/hp/hpl/jena/sparql/core/DatasetGraph;)Lcom/hp/hpl/jena/query/DataSource;
at com.hp.hpl.jena.sdb.store.DatasetStore.create(DatasetStore.java:34)
at com.hp.hpl.jena.sdb.SDBFactory.connectDataset(SDBFactory.java:159)
at
com.hp.hpl.jena.sdb.assembler.DatasetStoreAssembler.open(DatasetStoreAssembler.java:41)
at
com.hp.hpl.jena.sdb.assembler.DatasetStoreAssembler.open(DatasetStoreAssembler.java:33)
at
com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$PlainAssemblerGroup.openBySpecificType(AssemblerGroup.java:130)
at
com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$PlainAssemblerGroup.open(AssemblerGroup.java:117)
at
com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$ExpandingAssemblerGroup.open(AssemblerGroup.java:81)
at
com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:52)
at
com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:48)
at
com.hp.hpl.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerUtils.java:101)
at arq.cmdline.ModAssembler.create(ModAssembler.java:68)
at
arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.java:43)
at
org.apache.jena.fuseki.FusekiCmd.processModulesAndArgs(FusekiCmd.java:277)
at arq.cmdline.CmdArgModule.process(CmdArgModule.java:51)
at arq.cmdline.CmdMain.mainMethod(CmdMain.java:100)
at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
at org.apache.jena.fuseki.FusekiCmd.main(FusekiCmd.java:141)
Thanks!
-Michael
Michael Cox
-------------------------------------------------------------------
Undergraduate Assistant Database Administrator
Mission Operations and Data Systems
Laboratory for Atmospheric and Space Physics
1234 Innovation Drive
Boulder, CO 80303
[email protected]
-----Original Message-----
From: Andy Seaborne [mailto:[email protected]] On Behalf Of Andy
Seaborne
Sent: Wednesday, March 13, 2013 12:33 PM
To: [email protected]
Subject: Re: Fuseki update with SDB
On 13/03/13 18:01, Michael Cox wrote:
> Hey all,
>
> I downloaded the latest Fuseki code (0.2.6) and am looking to get it running
> with an SDB install. The installation page mentions that I'll need the SDB
> jars on the classpath, but doesn't mention where to find them.
>
> Probably a simple solution, but I can't seem to locate it at the moment...
> anybody know where those are?
>
> Thanks for your help!
> -Michael
For the latest Fuseki, you will need the development build:
https://repository.apache.org/content/repositories/snapshots/org/apache/jena/jena-sdb/
Maven and distribution forms are there.
Andy