Simplest way to run PlantUML server?

0 votes
asked Mar 11, 2015 in To be sorted by anonymous

Using jetty-runner from repo, I've tried:

java -jar jetty-runner-8.1.9.v20130131.jar plantuml.war

However kepts getting this error, no matter what port I put in a --port arg, and/or if I run with sudo:

java.net.BindException: Address already in use

What's the simplest way to run a PlantUML server?

2 Answers

0 votes
answered Mar 15, 2015 by anonymous

Found the solution, cloning: https://github.com/plantuml/plantuml-server then running: mvn jetty:run; as per their documentation.

0 votes
answered Apr 30 by toddpi314 (140 points)

You can specify the port with the jetty runner, just make sure you supply it before the war reference.

java -jar build/jetty-runner-8.1.9.v20130131.jar --port 9090 build/plantuml.war
...