很明显,找不到tools.jar。pom.xml中添加以下代码
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>
不能解决请看下边:https://www.cnblogs.com/gaoxu007/p/7204827.html
也可留言,随时回复