我下载了Apache Nutch项目,一切似乎都很好,除了这个令人烦恼的pom.xml错误,似乎永远不会消失。我有eclipse kepler并将apache nutch项目转换为maven项目,然后更新了依赖项。然而,这个错误似乎并没有消失。所有输入/反馈都是受欢迎的&非常感谢。
Multiple annotations found at this line:
- Missing artifact javax.jms:jms:jar:1.1
- ArtifactTransferException: Failure to transfer com.sun.jdmk:jmxtools:jar:1.2.1 from https://maven-
repository.dev.java.net/nonav/repository was cached in the local repository, resolution will not be reattempted until
the update interval of java.net has elapsed or updates are forced. Original error: Could not transfer artifact
com.sun.jdmk:jmxtools:jar:1.2.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No
connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type
legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
- ArtifactTransferException: Failure to transfer javax.jms:jms:jar:1.1 from https://maven-repository.dev.java.net/
nonav/repository was cached in the local repository, resolution will not be reattempted until the update interval of
java.net has elapsed or updates are forced. Original error: Could not transfer artifact javax.jms:jms:jar:1.1 from/to
java.net (https://maven-repository.dev.java.net/nonav/repository): No connector available to access repository
java.net (https://maven-repository.dev.java.net/nonav/repository) of type legacy using the available factories
AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
- ArtifactTransferException: Failure to transfer com.sun.jmx:jmxri:jar:1.2.1 from https://maven-
repository.dev.java.net/nonav/repository was cached in the local repository, resolution will not be reattempted until
the update interval of java.net has elapsed or updates are forced. Original error: Could not transfer artifact
com.sun.jmx:jmxri:jar:1.2.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No
connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type
legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
- Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1
- Missing artifact com.sun.jmx:jmxri:jar:1.2.1
答案 0 :(得分:0)
在http://mvnrepository.com/artifact/javax.jms/jms/1.1(2013年10月7日)网上有一件神器。它应该工作比。
<dependency>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
</dependency>