Description:
The dependencies of some of the beans in the application context form a cycle:
┌──->──┐
| com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration
└──<-──┘
最快的解决方案降低
spring-boot-starter-parent 版本
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
博客讨论了在Spring Boot应用中遇到的Bean依赖循环问题,具体表现为PageHelperAutoConfiguration Bean之间的循环引用。作者提供了降低spring-boot-starter-parent版本作为快速解决方案,通过回退到2.3.2.RELEASE版本来避免该问题。
1233

被折叠的 条评论
为什么被折叠?



