gpt4 book ai didi

Java EE Maven 无法从/向 java.net 传输 Artifact MANUAL.com.sun.messaging :imq:pom:4. 1

转载 作者:行者123 更新时间:2023-12-02 10:56:12 32 4
gpt4 key购买 nike

我正在尝试恢复其他开发人员编写的旧 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

最佳答案

这只是一个猜测,但也许与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

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

关于Java EE Maven 无法从/向 java.net 传输 Artifact MANUAL.com.sun.messaging :imq:pom:4. 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51716250/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com