Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/shursulei/article/details/78889498
Description Resource    Path    Location    Type
Project build error: Non-resolvable parent POM for com.shursulei.Springboot:Springbootday01:0.0.1-SNAPSHOT: 
Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE from http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): connect timed out and 'parent.relativePath' points at wrong local POM  pom.xml /Springbootday01    line 4  Maven pom Loading Problem

解决方法:进入该项目的目录下,使用mvn compile的方式进行编译

E:\soft\eclipse-jee-mars-2-win32-x86_64\SSMworkspace\Springbootday01>mvn compile

使用eclipse,右键项目,maven-update project->则成功。

猜你喜欢

转载自blog.csdn.net/shursulei/article/details/78889498