org.apache.ibatis.binding.BindingException: Invalid bound statem

困扰两个小时的问题,就是因为一个字母错了

bindingexception异常
bindingexception异常

问题解决方案

  1. 首先看下配置mybatis有没有问题
  2. mapper文件中sql语句的id是否接口中方法名称一致
  3. mapper文件的namespace的路径是否正确
  4. 去掉mapper文件中的中文注释

相关文章:

  • 2021-09-05
  • 2021-12-12
  • 2021-07-09
  • 2021-11-01
  • 2021-08-19
  • 2021-11-09
  • 2022-02-05
猜你喜欢
  • 2021-04-14
  • 2022-01-19
  • 2021-04-21
  • 2021-12-23
  • 2021-07-31
  • 2021-07-30
  • 2022-12-23
相关资源
相似解决方案