错误详情:
Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
原因:JDK9之后,版本有了变化
解决方案:
方案一:
检查开发工具是否是默认的JDK,调整或降低JDK版本到 JDK8
方案二:
手动加入依赖Jar包
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>