java.lang.ClassNotFoundException: javax.xml.bind.JAXBException

Hi,

I’m new to Camunda and I try to get a local installation running for evaluating the engine in our company. I use a tomcat 9.0.10 and java 9.0.4 under macOS 10.13.6. I deployed camunda with the war-file using the Tomcat Web Application Manager.

When I try to start the application I get the error: FAIL - Application at context path [/camunda] could not be started

Catalina.out-log says: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException

So I did some research on the web and it seems that in Java 9 javax.xml.bind is no longer included in the classpath. How can I solve this issue on my local installation?

Would appriciate any help on this.
Christian

Hi Christian,

Currently only Java 9 is not supported (support env).
Supporting more recent Java version is in our roadmap for the next minor version.

Best regards,
Yana

1 Like

Thank you for the fast answer.

Somehow you need to get: “–add-modules java.se.ee” into your JAVA_OPTS. I’m using the camunda distribution that includes tomcat downloaded from here:

All I did to get it working was to add:

export JAVA_OPTS="–add-modules java.se.ee"

to the file “start-camunda.sh” file.