eclipse maven编译无效

Default VM arguments行加入下面的值

-Dmaven.multiModuleProjectDirectory=$MAVEN_HOME

 

pom 文件出现 Missing artifact jdk.tools:jdk.tools:jar:1.6 报错信息

dependency>
  <groupId>jdk.tools</groupId>
  <artifactId>jdk.tools</artifactId>
  <version>1.8</version>
  <scope>system</scope>
  <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>

posted @ 2019-03-20 10:41  highyeyeye  阅读(213)  评论(0编辑  收藏  举报