开发者社区 问答 正文

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:\Users\Administrator\git\test828\test\res-test\pom.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:\Users\Administrator\git\test828\test\res-test\pom.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

展开
收起
爱吃鱼的程序员 2020-06-05 15:17:29 1108 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>这错误信息提示的这么明显,你发这个想表达什么?</p>
                    
    
                            回复 <a class="referer" target="_blank">@js2java</a>  : 很明显是不是少个pom里面少个<version>
                        
    
                            项目依赖没弄好,同事搞好了,具体没细问
                        
    
                        <p>-X</p>
    
    2020-06-05 15:17:48
    赞同 展开评论