Local docker build throws 500 server errors
JenniferKiesel opened this issue · 0 comments
JenniferKiesel commented
When building the docker image myself the server throws HTTP 500 errors when calling a request with the following error:
Implementation of JAXB-API has not been found on module path or classpath.
The following dependencies are missing:
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0-b170201.1204</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.activation/activation -->
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime -->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.0</version>
</dependency>
Also I got it only running with Java 8.
Then it's working as expected.