Note that, before JDK 11, JAXB was included in the JDK but is now an external dependency.
So if you're using the jar alone, you really need to declare JAXB as a dependency yourself as the JDK won't provide it anymore.