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

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

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

解决方法:快捷键win+r输入cmd,进入到后台,进入该项目的目录下,使用mvn compile的方式进行编译

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

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

文章转载shursulei ,原文链接为:https://blog.youkuaiyun.com/shursulei/article/details/78889498

但是原作者说的不够详细,自己稍作补充

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值