maven报错了,无法顺利install
Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM com.test:test-datax:[unknown-version] (D:UsersAdministratorgittest828testres-testpom.xml) points at com.test:res instead of com.test:test-admin, please verify your project structure @ line 5, column 13
[FATAL] Non-resolvable parent POM for com.test:test-datax:[unknown-version]: Failure to find com.test:test-admin:pom:3.4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.test:test-datax:[unknown-version] (D:UsersAdministratorgittest828testres-testpom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.test:test-datax:[unknown-version]: Failure to find com.test:test-admin:pom:3.4 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
项目依赖没弄好,同事搞好了,具体没细问
回复
@js2java : 很明显是不是少个pom里面少个<version>
这错误信息提示的这么明显,你发这个想表达什么?