maven import error
Cannot resolve org.springframework.boot:spring-boot-autoconfigure:2.6.2
Solution 1:
Delete the package corresponding to the local maven and download it again
Solution 2:
It may be a springboot version problem, lower the version (2.6.2 can’t be used before. Just change to 2.5.7)
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version> 2.5.7 </version> <relativePath/> <!-- lookup parent from repository --> </parent>
Similar Posts:
- Error creating bean with name ‘com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration’
- Eureka server project startup error handling
- Unregistering JMX-exposed beans on shutdown Solution
- Error reporting life processing instructions for building spring boot project
- [Solved] Springboot integrate swagger Error: failed to start bean ‘documentationpluginsboot
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configurationPropertiesBeans’ defined in class path resource
- Springboot always reports an error when importing JSP dependencies
- [How to Solve] RestController cannot be recognized in spring boot
- Spring boot starter parent cannot be found when creating Maven project, and the parent node reports an error
- How to Solve Error: spring-boot-maven-plugin not found