Skip to content

Starting dbpedia-spotlight server fails  #17

Description

@rmitsch

I couldn't find any information on how to launch the spotlight server after building the model and failed in trying so far. I'd appreciate any pointers.

More specifically: Building the model with e. g. ./index_db.sh wdir zh_CN zh/stopwords.list None models/zh was successful. I'm not quite sure how to actually start the spotlight server now though - https://github.com/dbpedia-spotlight/dbpedia-spotlight-model mentions
java -jar dbpedia-spotlight-1.0.jar en http://localhost:2222/rest
but model-quickstarter doesn't generate a jar with that name. Instead I see several options:

dbpedia-spotlight/rest/target/rest-1.0-jar-with-dependencies.jar
dbpedia-spotlight/rest/target/rest-1.0.jar
dbpedia-spotlight/core/target/core-1.0.jar
dbpedia-spotlight/core/target/core-1.0-jar-with-dependencies.jar
dbpedia-spotlight/target/spotlight-1.0-jar-with-dependencies.jar
dbpedia-spotlight/index/target/index-1.0-jar-with-dependencies.jar
dbpedia-spotlight/index/target/index-1.0.jar

dbpedia-spotlight/target/spotlight-1.0-jar-with-dependencies.jar seemed the most promising to me, but running

java -jar target/spotlight-1.0-jar-with-dependencies.jar zh http://localhost:2222/rest

yields Could not find or load main class org.dbpedia.spotlight.web.rest.Server.

Launching the other jars (with suffix -with-dependencies) also outputs error message - e. g.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/dbpedia/spotlight/web/rest/Server : Unsupported major.minor version 52.0

What is the correct way to launch dbpedia-spotlight with my model?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions