我收到下面的错误。 “依赖路径”指的是什么以及为什么有3个位置?如何解释依赖路径?
我几乎没有Maven的经验。
Missing:
----------
1) com.sun.jmx:jmxri:jar:1.2.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.services:Common:jar:1.0.0.0
2) log4j:log4j:jar:1.2.15
3) com.sun.jmx:jmxri:jar:1.2.1
你是否支持代理?你使用回购管理器吗? – khmarbaise
是和是。我的同事已经在.m2中配置了我的设置文件。 –