mybatis配置分页助手插件时报错

在这里插入图片描述
原核心配置文件为 :

<plugins>
        <plugin interceptor="com.github.pagehelper.PageHelper">
            <property name="dialect" value="mysql"/>
        </plugin>
    </plugins>

查看com.github.pagehelper安装包后发现PageInterceptor实现Interceptor接口
在这里插入图片描述
修改后的核心配置文件:

<plugins>
        <plugin interceptor="com.github.pagehelper.PageInterceptor"></plugin>
    </plugins>

运行成功!!!


版权声明:本文为huang_2016原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/huang_2016/article/details/124019451