question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to run in localhost server compiling from the newest source code

See original GitHub issue

First I git clone the source code from https://github.com/dbpedia-spotlight/dbpedia-spotlight But I got a 0.70.jar after maven the project. However it can run successful with the command:

java -jar **********

So I find this repo, and clone to my computer and then use maven to package a jar: spotlight-1.0-jar-with-dependencies.jar

But when I run the jar, it got an error:

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

Did I forget something to deal with? Thanks

BTW, According to my test, the version 0.7 has a quite faster speed than the 1.0. I annotate a same text file, one cost 110 seconds and the other is 260 seconds.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
darioloetschercommented, Nov 12, 2017

Hey,

You just picked the wrong jar. The jar you want to run is rest/target/rest-1.0-jar-with-dependencies.jar .

Then you can follow the normal instruction here https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Run-from-a-JAR .

As u can see, they just renaming the rest-1.0-jar-with-dependencies.jar to dbpedia-spotlight-nightly-build.jar in there CI http://jenkins.dbpedia-spotlight.org/job/spotlight/lastBuild/console .

0reactions
Gautamshahicommented, Jul 26, 2018

Thank you, Yes It needs more RAM. I laptop has 6GB only.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you set up a local testing server? - MDN Web Docs
Running a simple local HTTP server · Go to python.org · Under the Download section, click the link for Python "3. · At...
Read more >
Deploying A Localhost Server With Node.js and Express.js
Step 1: Download Node · Step 2: Create A New Working Directory · Step 3: Install Express · Step 4: Set Up Your...
Read more >
How do you create basic content to run on localhost with ...
npm init npm install lite-server --save-dev ... If you start the visual studio code debugger your webpage will be served from localhost:3000.
Read more >
Built-in web server - Manual - PHP
If a PHP file is given on the command line when the web server is started it is treated as a "router" script....
Read more >
Create a local server configuration | PhpStorm Documentation
In the local server configuration, you do your development, then copy the sources to the server. A local server is a server that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found