首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Java EE Maven无法将工件MANUAL.com.sun.messaging:imq:pom:4.1传入/传出java.net

Java EE Maven无法将工件MANUAL.com.sun.messaging:imq:pom:4.1传入/传出java.net
EN

Stack Overflow用户
提问于 2018-08-07 06:04:10
回答 1查看 63关注 0票数 0

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

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

发布于 2018-08-07 06:27:51

这只是一个猜测,但可能与不再存在的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

也许你可以看看这是否会给你提供线索。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51716250

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档