0
点赞
收藏
分享

微信扫一扫

Error creating bean with name ‘xxxxxController‘: Unsatisfied dependency expressed through field

Sophia的玲珑阁 2022-04-14 阅读 67
spring boot

SpringBoot引入pagehelper依赖,报错
在这里插入图片描述
查了资料,是因为pagehelper版本不对,存在循环依赖问题。

主要是参考这一篇spring-boot高版本集成com.github.pagehelper出现循环依赖的问题

原来的pagehelper版本是1.3.0,现在改成了1.4.2,就可以正常运行了。

<dependency>
			<groupId>com.github.pagehelper</groupId>
			<artifactId>pagehelper-spring-boot-starter</artifactId>
			<version>1.4.2</version>
		</dependency>
举报

相关推荐

0 条评论