Skip to content

Should jena-geosparql be shaded be downloadable without dependencies? #2645

Open
@OyvindLGjesdal

Description

@OyvindLGjesdal

Version

5.1.0

Question

I get a startup error when dropping jena-geosparql-5.1.0.jar in $FUSEKI_BASE/extra folllowing the instructions

or download the binary from the Maven central repository org/apache/jena/jena-geosparql

in https://jena.apache.org/documentation/geosparql/geosparql-assembler.html

The exception is:

            "Aug 16 16:25:01 instance fuseki-server[2604]: Exception in thread \"main\" java.lang.NoClassDefFoundError: org/jdom2/JDOMException",
            "Aug 16 16:25:01 instance fuseki-server[2604]:         at org.apache.jena.geosparql.implementation.datatype.GeometryDatatype.registerDatatypes(GeometryDatatype.java:69)",
            "Aug 16 16:25:01 instance fuseki-server[2604]:         at org.apache.jena.geosparql.InitGeoSPARQL.init(InitGeoSPARQL.java:54)",
            "Aug 16 16:25:01 instance fuseki-server[2604]:         at org.apache.jena.geosparql.InitGeoSPARQL.start(InitGeoSPARQL.java:38)"
...

If I instead download from https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/ (which is shaded) and put it in the extra folder, the server starts and geosparql works, but when I inspect the jar file it also contains alot (32 MB) of jena and fuseki itself as dependencies, and I think it has the purpose of being a standalone server, and not a drop-in.

See contents of jena-geosparql-5.1.0.jar
jena-fuseki-geosparql

Should jena-geosparql also work as a drop-in module for fuseki, or is the purpose to drop in the jena-fuseki-geosparql jar, when using a fuseki-webapp, with geosparql as a module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions