【问题标题】:Java EE Maven Could not transfer artifact MANUAL.com.sun.messaging:imq:pom:4.1 from/to java.netJava EE Maven 无法从/向 java.net 传输工件 MANUAL.com.sun.messaging:imq:pom:4.1
【发布时间】:2019-01-13 22:08:03
【问题描述】:

我正在尝试恢复由其他开发人员编写的旧 Java EE 项目。 我已经使用 Netbeans 的“手动安装 Artifact”手动解决了大部分依赖项。 MANUAL.com.sun.messaging:imq:jar 似乎有问题。任何线索下面出了什么问题?

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.999s
[INFO] Finished at: Mon Aug 06 23:21:18 CEST 2018
[INFO] Final Memory: 8M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kmy-emi: Could not resolve dependencies for project com.mydrm.kmy.emi:kmy-emi:jar:1.0-SNAPSHOT: Failed to collect dependencies for [junit:junit:jar:4.4 (test), org.apache.mina:mina-core:jar:1.0.2 (compile),
org.slf4j:slf4j-api:jar:1.3.0 (compile),
org.slf4j:nlog4j:jar:1.2.25 (compile),
commons-codec:commons-codec:jar:1.3 (compile),
xerces:xercesImpl:jar:2.8.1 (compile),
xom:xom:jar:1.1 (compile),
commons-lang:commons-lang:jar:2.3 (compile),
org.apache.derby:derby:jar:10.4.1.3 (compile),
org.apache.derby:derbynet:jar:10.4.1.3 (compile),
com.mydrm.kmy.util:sclib:jar:1.0-SNAPSHOT (compile),
com.mydrm.kmy.util:misc:jar:1.0-SNAPSHOT (compile),
toplink.essentials:toplink-essentials:jar:2.0-58g (compile),
com.mydrm.kmy.util:xmlutil:jar:1.0-SNAPSHOT (compile),
MANUAL.com.sun.messaging:imq:jar:4.1 (compile),
MANUAL.com.sun.messaging:jms:jar:4.1 (compile),
MANUAL.com.sun.jndi:fscontext:jar:4.1 (compile),
org.apache.derby:derbyclient:jar:10.4.1.3 (compile),
org.easymock:easymock:jar:2.3 (test)]: Failed to read artifact descriptor for MANUAL.com.sun.messaging:imq:jar:4.1: Could not transfer artifact MANUAL.com.sun.messaging:imq:pom:4.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 WagonRepositoryConnectorFactory -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

【问题讨论】:

    标签: java maven jakarta-ee netbeans jar


    【解决方案1】:

    这只是一个猜测,但可能与已不存在的https://maven-repository.dev.java.net/nonav/repository 有关(看看org.easymock:easymoc...右边的那行)

    我在堆栈上找到了一些关于此的帖子

    Maven site warning: The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid

    也许您可以看看这是否会为您提供线索。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-12-20
      • 1970-01-01
      • 1970-01-01
      • 2013-02-04
      • 2021-08-12
      • 2014-06-04
      • 2015-12-11
      相关资源
      最近更新 更多