java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema #42
-
When running
I tried various fixes found online but none of them seems to work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
@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. |
Beta Was this translation helpful? Give feedback.
@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.