在使用Mybatis-Plus时,出现无法解析符号 'PaginationInnerInterceptor'的情况,排查依赖下载等问题后,发现是我使用的Mybatis-Plus版本过高。 于v3.5.9 起,PaginationInnerInterceptor 已分离出来。如需使用,则需单独引入 mybatis-plus-jsqlparser 依赖 , 具体请查看 安装 一章。 <!-- spring boot3 引入可选模块 -...
首先确认 'mybatisplusinterceptor' 是否为正确的类名。通常,MyBatis Plus 中相关的拦截器类名是 MybatisPlusInterceptor(注意大小写)。如果类名输入错误,IDE 将无法解析。 检查依赖配置: 确保你的项目中已经正确引入了包含 MybatisPlusInterceptor 的库。通常,这个类包含在 mybatis-plus-boot-starter 依赖中。你可...