Maven编译时遇到的坑

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yu1014745867/article/details/82383137

1、Maven install报错

报错如下:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.lianjia.cto.ke:ke-community:1.0.0-SNAP                  SHOT: Failure to find com.lj.ctt:spring-boot-optimus-prime:pom:1.5.6.6 in h                  ttps://repo.maven.apache.org/maven2 was cached in the local repository, resoluti                  on will not be reattempted until the update interval of central has elapsed or u                  pdates are forced and 'parent.relativePath' points at wrong local POM @ line 7,                   column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.lj.cto.ke:ke-community:1.0.0-SNAPSHOT (D:\code\ke                  -community\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.lj.cto.ke:ke-community:1.0.0-                  SNAPSHOT: Failure to find com.lj.ctt:spring-boot-optimus-prime:pom:1.5.6.6                   in https://repo.maven.apache.org/maven2 was cached in the local repository, reso                  lution 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                   7, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit                  ch.
[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 rea                  d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin                  gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo                  delException

这里写图片描述

猜你喜欢

转载自blog.csdn.net/yu1014745867/article/details/82383137