我正在尝试恢复由其他开发人员编写的旧Java EE项目。我已经通过Netbeans中的“手动安装工件”手动解决了大部分依赖项。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
发布于 2018-08-07 06:27:51
这只是一个猜测,但可能与不再存在的https://maven-repository.dev.java.net/nonav/repository
有关(查看org.easymock:easymoc...
右侧的行)
我在堆栈上找到了一些关于这个的帖子
也许你可以看看这是否会给你提供线索。
https://stackoverflow.com/questions/51716250
复制相似问题