admin管理员组文章数量:1619183
使用spring initializr创建maven程序, 在intellij idea中打开时报错: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:3.0.1-SNAPSHOT in http://maven.aliyun/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
原因百度了一圈 说是因为我们把maven的下载源改成了阿里云, 但是阿里云还没有同步一些关键组件
解决方法: 在pom.xml中把spring-boot-starter-parent:pom的版本降到2.X的版本就可以。如下图所示
控制台就不报错了
我这里的java版本是17,使用3.0.0这个版本加载依赖时不会报错,但是在启动服务的时候就会报错
解决如下:
http://t.csdn/CWlIf
有问题可加v 876942434 ,一起交流 一起进步~
本文标签: springframeworkbootorgfailureFind
版权声明:本文标题:Failure to find org.springframework.boot:spring-boot-starter-parent:pom:3.0.1-SNAPSHOT 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728785060a1173221.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论