maven中tools.jar missing解决办法
在你pom文件中加入下边这段话
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>
其中${JAVA_HOME} 需要你自己配环境变量,如果没有配置你在这里也可以直接写你的jdk目录,但是那样你的pom修改后就不能提交了,因为别人不是这个目录
猜你喜欢
转载自cactus-qing.iteye.com/blog/2287364
今日推荐
周排行