分页的时候出现Creating a new SqlSession异常
首先把异常信息打印出来,在全局的异常类里面把异常信息打印出来
Creating a new SqlSession异常
Creating a new SqlSession异常然后看到在这个异常
再搜Could not find method on interface org.apache.ibatis.executor.statement.StatementHandler named prepare. Cause: java.lang.NoSuchMethodException: org.apache.ibatis.executor.statement.StatementHandler.prep
找出原因
Creating a new SqlSession异常
解决
Creating a new SqlSession异常
遇到问题的时候先debug,找不到了就把异常信息打印出来
//打印日志信息
e.printStackTrace();

相关文章:

  • 2022-01-10
  • 2021-09-17
  • 2021-07-24
  • 2022-12-23
  • 2021-07-17
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-09-05
  • 2022-12-23
  • 2021-08-26
  • 2021-06-21
相关资源
相似解决方案