使用mybatis遇到Invalid bound statement (not found)

160 阅读1分钟

出错原因总结

  • 项目配置文件没有指明maperLocations,或是指向错误。
  • xml文件的namespace不正确。
  • Mapper.java的方法在Mapper.xml中没有。

个人笔记,不喜勿喷!