DescriptionResourcePathLocationType Project build error: Non-resolvable parent POM for ...
发布者:IT人在线 | 发表时间:2018/11/16 10:29:06
DescriptionResourcePathLocationType Project build error: Non-resolvable parent POM for com.demo:HelloWorld:0.0.1-SNAPSH
首先我们尝试 maven-->update project就可以,但是实验得知不行。
之前,我们使用的阿里云的镜像仓库,所以又继续setting.xml中添加华为镜像。
<mirrors>
<mirror>
<id>huaweicloud</id>
<mirrorOf>*</mirrorOf>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</mirror>
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://central.maven.org/maven2/</url>
</mirror>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
ok,完成。不再报错。