Use spring initializr to create a maven program, open it in intellij idea and report an error: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:3.0.1-SNAPSHOT in http://maven.aliyun.com/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 The reason Baidu said in a circle is because we changed the maven download source to Alibaba Cloud, but Alibaba Cloud has not yet synchronized some key
components
Solution: Just drop the version of spring-boot-starter-parent:pom to version 2.X in pom.xml. As shown in the figure below ,
the console does not report an error.
My java version here is 17. When using version 3.0.0 to load dependencies, no error will be reported, but when the service is started, an error will be reported. The
solution is as follows:
http://t.csdn.cn/CWlIf
If you have any questions, you can add v 876942434, communicate and make progress together~