Skip to content

java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema #42

Answered by karianna
mattiascibien asked this question in Q&A
Discussion options

You must be logged in to vote

@mattiascibien Does this project work on Java 8 but not Java 11? Are you able to also try with a build from AdoptOpenJDK.net?

We ask because this looks like the typical challenge when upgrading from Java 8 to 11 (where the JAXB implementation was removed from the JDK and you need to reference it via a 3rd party library instead. See https://docs.microsoft.com/en-us/azure/developer/java/fundamentals/transition-from-java-8-to-java-11.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@brunoborges
Comment options

@mattiascibien
Comment options

@mattiascibien
Comment options

@brunoborges
Comment options

@brunoborges
Comment options

Answer selected by karianna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants