問題原因:自從spring boot開始使用2.0x版本以上后,很多相應的依賴文件版本開始變化
該版本為spring-boot 1.4.1
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>4.1.0</version>
</dependency>
切換成對應的2.0的版本即可
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.5</version>
</dependency>
