今天從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 記錄一下啊