java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema #42
Answered
by
karianna
Mattias Cibien (mattiascibien)
asked this question in
Q&A
|
When running I tried various fixes found online but none of them seems to work. |
Answered by
karianna
May 3, 2021
Replies: 1 comment 9 replies
|
Mattias Cibien (@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. |
9 replies
Answer selected by
karianna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mattias Cibien (@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.