标签:depend class pen 引入 pre cat cti enc mod
Implementation of JAXB-API has not been found on module path or classpath.
JAXB API是java EE 的API,java 9/10引入了模块的概念,Java SE中将不再包含java EE 的Jar包。
pom.xml加入
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
标签:depend class pen 引入 pre cat cti enc mod
原文地址:https://www.cnblogs.com/wintersoft/p/10018047.html