mybatis分页查询3.png 1,pom.xml配置新增依赖,从mybatis-plus官网获取 <dependency><groupId>com.baomidou</groupId><artifactId>mybatis-plus-boot-starter</artifactId><version>3.1.0</version></dependency> 2,接下来要连接数据库并在IDEA控制台打印sql spring:datasource:driver-class-name:com.mysql.jdbc....