Project build error: Non-resolvable parent POM for com.it.breakx:SpringBootAop:0.0.1-SNAPSHOT: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:2.0.4 in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced and ‘parent.relativePath’ points at wrong local POM
问题有道词典翻译:
项目构建错误:不可解析的父POM为com.it.breakx:SpringBootAop:0.0.1-SNAPSHOT:在https://maven.aliyun.com/repository/public中找到org.springframework.boot:spring-boot-starter-parent:pom:2.0.4的失败被缓存到本地存储库中,在aliyunmaven的更新间隔已经过去或更新被强制执行和’parent '之前,解析不会被重新尝试。relativePath指向错误的本地POM
问题如下
版本问题吧,把版本调为较新的
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.5</version>
</parent>
也可以直接去官网赋值
maven官网
大家互相参考一下
我不希望大家不要把时间浪费在这样的问题上!