Hi Andy, I indeed compile Jena myself to be able to use 3.17 snapshot. I do that using :
java version "1.8.0_251" Java(TM) SE Runtime Environment (build 1.8.0_251-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode) But for now I'm ok with https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-fuseki-geosparql/3.17.0-SNAPSHOT/jena-fuseki-geosparql-3.17.0-20201021.075518-36.jar Looking forward for the official release of 3.17. Any idea when the Jena Fuseki server with UI will support GeoSparql? I now have 2 Jena Fuseki servers running. Kind regards, Johan, Op za 24 okt. 2020 om 20:04 schreef Andy Seaborne <[email protected]>: > Did you compile it yourself? > > This can be caused by compiling with java 9+ and running on java8 (even > if the source is set to output 8 - it's a libary issue not a compile issue) > > You can run on a Java9+, compile with java8, or you can get pre-built > artifacts, built with Java8 from the maven repo (which should run on > Java 8-15) > > https://repository.apache.org/content/groups/snapshots/org/apache/jena/ > > These are not official releases, they are development builds. > > Andy > > On 24/10/2020 18:40, Johan Kumps wrote: > > Thanks for the hint Marco! Unfortunately I now get > > > > Exception in thread "main" java.lang.NoSuchMethodError: > > java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; > > at > org.apache.jena.tdb.transaction.Journal._read(Journal.java:236) > > at > > org.apache.jena.tdb.transaction.Journal._readJournal(Journal.java:223) > > at > > org.apache.jena.tdb.transaction.Journal.access$100(Journal.java:46) > > at > > > org.apache.jena.tdb.transaction.Journal$IteratorEntries.moveToNext(Journal.java:290) > > at > > > org.apache.jena.tdb.transaction.Journal$IteratorEntries.moveToNext(Journal.java:275) > > at > > > org.apache.jena.atlas.iterator.IteratorSlotted.hasNext(IteratorSlotted.java:66) > > at > > > org.apache.jena.tdb.transaction.JournalControl.scanForCommit(JournalControl.java:157) > > at > > > org.apache.jena.tdb.transaction.JournalControl.recoverFromJournal(JournalControl.java:134) > > at > > > org.apache.jena.tdb.StoreConnection.forceRecoverFromJournal(StoreConnection.java:167) > > at > > > org.apache.jena.tdb.StoreConnection._makeAndCache(StoreConnection.java:298) > > at > > org.apache.jena.tdb.StoreConnection.make(StoreConnection.java:244) > > at > > org.apache.jena.tdb.StoreConnection.make(StoreConnection.java:258) > > at > > > org.apache.jena.tdb.transaction.DatasetGraphTransaction.<init>(DatasetGraphTransaction.java:69) > > at > org.apache.jena.tdb.sys.TDBMaker.createDirect(TDBMaker.java:126) > > at > > org.apache.jena.tdb.sys.TDBMaker$$Lambda$125/2231450.apply(Unknown > Source) > > at > > > java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) > > at org.apache.jena.tdb.sys.TDBMaker._create(TDBMaker.java:112) > > at > > > org.apache.jena.tdb.sys.TDBMaker.createDatasetGraphTransaction(TDBMaker.java:43) > > at > > org.apache.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:93) > > at > > org.apache.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:71) > > at > org.apache.jena.tdb.TDBFactory.createDataset(TDBFactory.java:55) > > at > org.apache.jena.tdb.TDBFactory.createDataset(TDBFactory.java:51) > > at > > > org.apache.jena.fuseki.geosparql.DatasetOperations.prepareDataset(DatasetOperations.java:110) > > at > > > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:65) > > at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > > > > When starting the server using JDK 8n which is the target build > version... > > > > Thanks for helping me out. > > > > Johan, > > > > Op za 24 okt. 2020 om 11:50 schreef Marco Neumann < > [email protected]>: > > > >> download and compile the latest version in the repo. it's fixed in 3.17. > >> > >> Marco > >> > >> On Sat, Oct 24, 2020 at 9:47 AM Johan Kumps <[email protected]> > >> wrote: > >> > >>> Hi all, > >>> > >>> I'm trying to follow the examples at > >>> https://jena.apache.org/documentation/geosparql/geosparql-fuseki > >>> > >>> When using an in memory dataset like this : > >>> > >>> java -jar jena-fuseki-geosparql-3.14.0.jar -rf "data.owl" -i -u > >>> > >>> querying works fine. But when adding the -t "TestDS" option : > >>> > >>> java -jar jena-fuseki-geosparql-3.14.0.jar -rf "data.owl" -i -u -t > >> "TestDS" > >>> > >>> I keep getting : > >>> > >>> Exception in thread "main" > >>> org.apache.jena.tdb.transaction.TDBTransactionException: Not in a > >>> transaction > >>> at > >>> > >>> > >> > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:138) > >>> at > >>> > >>> > >> > org.apache.jena.tdb.transaction.DatasetGraphTransaction.get(DatasetGraphTransaction.java:49) > >>> at > >>> > >>> > >> > org.apache.jena.sparql.core.DatasetGraphWrapper.getR(DatasetGraphWrapper.java:81) > >>> at > >>> > >>> > >> > org.apache.jena.sparql.core.DatasetGraphWrapper.isEmpty(DatasetGraphWrapper.java:170) > >>> at > >>> org.apache.jena.sparql.core.DatasetImpl.isEmpty(DatasetImpl.java:247) > >>> at > >>> > >>> > >> > org.apache.jena.fuseki.geosparql.DatasetOperations.setup(DatasetOperations.java:95) > >>> at org.apache.jena.fuseki.geosparql.Main.main(Main.java:64) > >>> > >>> I tried adding jts-1.13.jar to the classpath but without success: > >>> > >>> java -cp jena-fuseki-geosparql-3.14.0.jar;jts-1.13.jar > >>> org.apache.jena.fuseki.geosparql.Main -rf "data.owl" -i -u -t "TestDS" > >>> > >>> Could you help me with this. > >>> > >>> Thanks! > >>> Johan, > >>> > >> > >> > >> -- > >> > >> > >> --- > >> Marco Neumann > >> KONA > >> > > >
