原因是MyBatis的版本和PageHelper的版本不匹配
一组正确的版本是:
1 2 3 4 5 6 7 8 9 10 11 12
| <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>2.0.4</version> </dependency>
<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.2.3</version> </dependency>
|