com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor

出現這個問題可以查看pagehelper5的jar包,可以發現com.github.pagehelper.PageHelper這個類沒有繼承interceptor 再在jar包中找 發現這個是繼承interceptor的 在mybatis-config.xml中配置如下就不會出錯了
相關文章
相關標籤/搜索