ConfusedLuigi ConfusedLuigi - 1 year ago 85
Java Question

How to start server in Sparkjava?

The docs say how to stop the server:

and to visit localhost after running it but doesn't specify how to start it. I have everything else set up and no errors when I run
mvn install

Answer Source

What mvn install does is only build your jar.

To run it just do

java -jar <your jar name>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download