maven小白,求大神解答

[ERROR] Failed to execute goal on project xx-manager-web: Could not resolve dependencies for project com.nun:xx-manager-web:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.nun:xx-common:jar:0.0.1-SNAPSHOT, com.nun:xx-manager-interface:jar:0.0.1-SNAPSHOT: Could not find artifact com.nun:xx-common:jar:0.0.1-SNAPSHOT -> [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

图片说明图片说明

3个回答

com.nun:xx-manager-web:war:0.0.1-SNAPSHOT
com.nun:xx-common:jar:0.0.1-SNAPSHOT
com.nun:xx-common:jar:0.0.1-SNAPSHOT
这几个jar的问题,,题主看在哪里配置了
找不到,,估计是没打包放到本地仓库,,,或者是网上下载没有

0.0.1-SNAPSHOT,,,,根据这个我感觉这是你自己搞得jar,,,没打包放到本地仓库,,

右键运行,,maven install即可安装到本地仓库

题主试试,,,,有问题可以追问

qq_36359679
qq_36359679 非常感谢
大约 2 年之前 回复

建议将节点中的内容删除,再校验是否以结尾

qq_36359679
qq_36359679 parent错了,但还是不知道错哪了
大约 2 年之前 回复

parent节点,和dependencies

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!