【解决】springboot项目pagehelper插件启动报错

_阿瑶

关注

阅读 80

2022-03-12


***************************
APPLICATION FAILED TO START
***************************

Description:

The dependencies of some of the beans in the application context form a cycle:

┌──->──┐
|  com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration
└──<-──┘


Action:

Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.


问题:PageHelper与MyBatis版本不兼容
解决:https://pagehelper.github.io/获取最新版本pagehelper

精彩评论(0)

0 0 举报