springboot

Spring Boot : javax.xml.bind.JA

2017-12-02  本文已影响54人  光剑书架上的书

How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException in Java 9

I have some code that uses JAXB API classes which have been provided as a part of the JDK in Java 6/7/8. When I run the same code with Java 9, at runtime I get errors indicating that JAXB classes can not be found at runtime.

The JAXB classes have been provided as a part of the JDK since Java 6, so why can Java 9 no longer find these classes?

上一篇下一篇

猜你喜欢

热点阅读