主要报错如下:
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>