700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 轻松解决IDEA“Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:xx“

轻松解决IDEA“Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:xx“

时间:2020-04-01 05:31:53

相关推荐

轻松解决IDEA“Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:xx“

在项目开发中,遇到了Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.8.RELEASE 的报错问题,搜了很多博客也未找到方案,

但是在阿里云的maven仓库,已经有相关jar包

于是,我百撕不得骑姐,

最后在大神的帮助下解决问题

第一步:

<mirror><id>aliyunmaven</id><mirrorOf>*</mirrorOf><name>阿里云公共仓库</name><url>/repository/public</url></mirror>

配置阿里云中央仓库,注意是https

第二步

在 导入的虚拟机选项 插入以下代码,忽略SSL证书验证

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

最后,你发现依然无解。。。。。。

项目依然报错,好像又重新回到了原点,我我我百撕不得骑姐

大神一句话,如醍醐灌顶,删除了本地包后,成功!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。