maven下载依赖报错:on-resolvable parent POM xxx

maven 构建项目时报错

Non-resolvable parent POM for com.itheima:integation-mybatis:0.0.1-SNAPSHOT: org.springframework.boot:spring-boot-starter-parent:pom:2.5.3 failed to transfer from http://maven.aliyun.com/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.5.3 from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): transfer failed for http://maven.aliyun.com/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-parent/2.5.3/spring-boot-starter-parent-2.5.3.pom and 'parent.relativePath' points at no local POM

解决方法:在仓库目录,把对应依赖的版本文件夹删除了,项目重新reload一下

相关推荐
东阳马生架构几秒前
订单初版—6.生单链路实现的重构文档
java
MuYiLuck7 分钟前
【JVM|类加载】第三天
java·jvm
Pocker_Spades_A11 分钟前
飞算JavaAI:开启 Java 开发 “人机协作” 新纪元
java·开发语言·飞算javaai
天天摸鱼的java工程师13 分钟前
MySQL 动态查询条件导致索引失效如何优化?
java·后端·面试
天天摸鱼的java工程师14 分钟前
MySQL 深分页如何进行性能优化?
java·后端·面试
码里看花‌16 分钟前
基于 Redis 实现高并发滑动窗口限流:Java实战与深度解析
java·开发语言·redis
Seven9720 分钟前
垃圾回收算法有哪些?了解哪些垃圾回收器?
java
EmpressBoost24 分钟前
System.getenv()拿不到你配置的环境变量
java·ide·intellij-idea
cui_hao_nan32 分钟前
JAVA并发——synchronized的实现原理
java·开发语言
程序员JerrySUN33 分钟前
一文理解缓存的本质:分层架构、原理对比与实战精粹
java·linux·开发语言·数据库·redis·缓存·架构