Missing artifact jdk.tools:jdk.tools:jar:1.6

mac2022-06-30  83

今天从svn上面下载了一个mavan项目,出现Missing artifact jdk.tools:jdk.tools:jar:1.6 这个错误.

 

怎么解决了,在我的根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>

 

 

ok,ok,ok 记录一下啊

转载于:https://www.cnblogs.com/huzi007/p/7066180.html

相关资源:tools.jar(JDK1.6中的tools.jar)
最新回复(0)