Environment (Required on creation):
Camunda Run 7.13.9+ using Java 9+
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
Starting Run with REST API and/or Webapps enabled will fail with exceptions around missing classes from javax.xml and javax.activation as soon as there is interaction with the REST API and Jersey.
Steps to reproduce (Required on creation):
- Start Run with Java 9+ and REST and/or Webapps enabled
- Perform a REST API request or open any of the Webapps
Observed Behavior (Required on creation):
The server log shows exceptions around missing classes from javax.xml and javax.activation depending on the interaction you triggered.
Expected behavior (Required on creation):
There are no exceptions in the log and all necessary classes are found.
Root Cause (Required on prioritization):
With CAM-12775, we bumped Spring Boot Starter to version 2.3.6 in 7.13, which leads to the same issues mentioned in CAM-12187:
We picked up javax-activation-api and javax-xml-api with the spring-boot-starter-jersey in Spring Boot 2.2.x. Those are not present in Spring Boot 2.3.x anymore.
Solution Ideas (Optional):
Same as in CAM-12187:
Add an explicit dependency to jakarta.xml.bind-api in Run to pull in the necessary classes.
Hints (Optional):
Two workarounds for customers that currently have the issue:
- use JDK 8 if possible
- add the JARs for jakarta.xml.bind-api and jakarta.activation-api to Run's configuration/userlib