1.MyBatis分页插件-PageHelper的配置导入依赖com.github.pagehelperpagehelper5.0.0 mybatis-config.xml全局配置文件中配置拦截器插件注意 plugins在配置文件中的位置必须符合要求,否则会报错,顺序如下: properties?,settings?, typeAliases?,typeHandlers?, objectFactory?,objectWrapperFactory?, plugins?, environments?,databaseIdProvider?,mappers?注意顺序 2.分页的使