qq_33544533
sgxu
采纳率0%
2018-11-28 07:25 阅读 761

pagehelper在查询执行时,ExceptionInInitializerError ?

//设置分页信息
PageHelper.startPage(1,10);
//执行查询
TbItemExample tbItemExample=new TbItemExample();
List tbItems = tbItemMapper.selectByExample(tbItemExample);

            java.lang.ExceptionInInitializerError
at com.github.pagehelper.dialect.AbstractHelperDialect.processParameterObject(AbstractHelperDialect.java:118)
at com.github.pagehelper.PageHelper.processParameterObject(PageHelper.java:88)
at com.github.pagehelper.util.ExecutorUtil.pageQuery(ExecutorUtil.java:166)
at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:104)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:60)
at com.sun.proxy.$Proxy23.query(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐