0
点赞
收藏
分享

微信扫一扫

PageHelper循环依赖 com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration


在用pageHelper的时候突然遇到个问题,启动项目后出现这个情况:

PageHelper循环依赖 com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration_github

springboot2.6好像禁止循环依赖还是啥的,翻来翻去没看到解决办法,后面去pageHelper github看,才看到最新版本已经解决了这个问题。

解决方案:更新到最新版本pageHelper,我的是1.4.1。

<!-- pagehelper 分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.1</version>
</dependency>


举报

相关推荐

0 条评论