How to run in localhost server compiling from the newest source code
See original GitHub issueFirst 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:
- Created 6 years ago
- Comments:13 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 .
Thank you, Yes It needs more RAM. I laptop has 6GB only.