SpringBoot引入PageHelper插件后报错的解决方法

主要报错如下:

org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration': 
Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class 

解决方式就是换一下pageHelper的版本就可以了

我的是换成1.2.3的版本就成功了

<dependency>
	<groupId>com.github.pagehelper</groupId>
	<artifactId>pagehelper-spring-boot-starter</artifactId>
	<version>1.2.3</version>
</dependency>

猜你喜欢

转载自blog.csdn.net/lidai352710967/article/details/82291755