错误: 程序包com.sun.xml.internal.bind.v2.model.core不存在
1.问题描述
maven Install报错: 程序包com.sun.xml.internal.bind.v2.model.core不存在
解决
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArguments>
<verbose />
<bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
</compilerArguments>
</configuration>
</plugin>
加入上面那段,编译时可以识别到rt.jar包
Please keep refueling and don't slack off.