首页 > 其他 > 详细

maven导入项目 pom文件报错

时间:2020-07-04 20:07:56      阅读:58      评论:0      收藏:0      [点我收藏+]

pom.xml文件报错

{

Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.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 public has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.RELEASE from/to public (http://maven.aliyun.com/nexus/content/groups/public/): maven.aliyun.com

}

原因:maven添加依赖后在本地仓库里找不到找不到相关文件

解决办法:找到本地maven仓库删掉此文件\repository\org\springframework\boot\spring-boot-maven-plugin,项目右键maven——>update project

解决!

maven导入项目 pom文件报错

原文:https://www.cnblogs.com/sspox/p/13236266.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!