plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.59k stars 463 forks source link

How can I run plantuml-server with Jetty 12 #318

Open truh opened 8 months ago

truh commented 8 months ago

How can I run plantuml-server with the recently released Jetty 12?

With jetty 11 I could start plantuml-server by running

java -jar jetty/start.jar --module=deploy,http,jsp jetty.home=./jetty jetty.base=./plantuml-server

When I try the same with Jetty 12 I get the error

ERROR : Unknown module=[jsp] List available with --list-modules

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
       java -jar $JETTY_HOME/start.jar --help  # for more information

I already tried to replace --module=jsp parameter with ee8-jsp, ee9-jsp and ee10-jsp but while with this option a webserver is started, it doesn't appear to actually launch plantuml-server. http://localhost:8080 return a 404 error in each case.

Background: I've supporting (or trying to support at least) plantuml-server module for NixOS, with NixOS upgrading it's Jetty package I've received reports of plantuml-server failing to start. Unfortunately I'm not an experienced Java EE operator.

https://github.com/NixOS/nixpkgs/issues/262893