【发布时间】:2014-08-14 11:23:51
【问题描述】:
我的 Maven 在 Eclipse 中遇到以下错误。
The container 'Maven Dependencies' references non existing library '.....\.m2\repository\sun\jdk\jconsole\jdk\jconsole-jdk.jar'
我的 pom.xml 中没有 jconsole-jdk.jar 文件的参考。我的 pom.xml 可在http://pastebin.com/tdxmtHqN
感谢您的帮助。因为这个问题,我被卡住了。
更新: 我删除了所有的依赖项并一一添加。添加以下依赖项时出现错误。
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-spec-api</artifactId>
<version>8.1.0.Final</version>
<type>pom</type>
<scope>test</scope>
</dependency>
问候 -阿尔宾
【问题讨论】: