0

我下载了 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
4

1 回答 1

0

从(2013 年 10 月 7 日)开始,在http://mvnrepository.com/artifact/javax.jms/jms/1.1中有一个在线工件。它应该比。

<dependency>
    <groupId>javax.jms</groupId>
    <artifactId>jms</artifactId>
    <version>1.1</version>
</dependency>
于 2014-07-31T11:32:46.547 回答