码迷,mamicode.com
首页 > 编程语言 > 详细

Maven项目缺少Jar包--jdk.toolss:jar:1.8

时间:2018-06-07 14:22:07      阅读:2665      评论:0      收藏:0      [点我收藏+]

标签:tools   pen   ble   lib   version   artifact   rar   error   tool   

Error message:

1. Missing artifact jdk.tools:jdk.tools:jar:1.8   [Maven Dependency Problem]
2. The container ‘Maven Dependencies‘ references non existing library ‘D:\.m2\repository\jdk\tools\jdk.tools\1.8\jdk.tools-1.8.jar‘

需要引入Maven依赖,如下所示:

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

 

Maven项目缺少Jar包--jdk.toolss:jar:1.8

标签:tools   pen   ble   lib   version   artifact   rar   error   tool   

原文地址:https://www.cnblogs.com/romancetown/p/9149772.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!