From f9e552f1cd9f73cb360d3361eb70964c0f5979a5 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Wed, 4 Jul 2018 19:15:54 +0200 Subject: [PATCH] Add instructions how to run WebGoat on Java 9 or higher --- README.MD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.MD b/README.MD index ccfee85bb..e47961d5e 100644 --- a/README.MD +++ b/README.MD @@ -40,6 +40,12 @@ java -jar webgoat-server-<>.jar [--server.port=8080] [--server.address= By default WebGoat starts on port 8080 with `--server.port` you can specify a different port. With `server.address` you can bind it to a different address (default localhost) +If you use Java 9 or higher you need to run WebGoat as follows: + +```Shell +java --add-modules java.xml.bind -jar webgoat-server-8.0.0.VERSION.jar +``` + ## 2. Run using Docker From time to time we publish a new development preview of WebGoat 8 on Docker HUB, you can download this version