Startup failure with ClassNotFoundException for JAXBException on Java 9 and Java 10

Description

geoserver-2.13.0-bin.zip fails to start with Java 9 or Java 10 because Java 9 modules make JAXB inaccessible. Jetty returns a 503 Service Unavailable. Full console logs attached. Handled NumberFormatException reported separately as GEOS-8748.

For Java 9:

Environment

openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+12-Debian-4)
OpenJDK 64-Bit Server VM (build 9.0.4+12-Debian-4, mixed mode)

openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Debian-4)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Debian-4, mixed mode)

Assignee

Unassigned

Reporter

Ben Caradoc-Davies

Triage

None

Fix versions

None

Affects versions

Priority

Medium
Configure