【问题标题】:Pom.xml Error Inside Apache Nutch Source Code / Eclipse KeplerApache Nutch 源代码/Eclipse Kepler 中的 Pom.xml 错误
【发布时间】:2013-09-25 23:33:34
【问题描述】:

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

【问题讨论】:

  • 为了补充我的问题,我已经尝试过到处下载 javax.jms。不仅很难找到,而且我下载并手动添加到构建路径的一个版本也无法解决此问题。 POM 仍然抱怨这种依赖。虽然它不会阻止构建过程本身,但我仍然不喜欢在 pom.xml 中看到错误。我喜欢看到项目处于完全可构建的状态......

标签: java maven pom.xml nutch


【解决方案1】:

(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>

【讨论】:

    猜你喜欢
    • 2013-11-29
    • 1970-01-01
    • 2013-09-23
    • 2014-01-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多