mybatis报错:Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yth.dao.IProductDao.getProductWithType
如何解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):问题

写完代码报错,找了半天才发现dao层接口名称与xml文件名称不一致,到层的为ProductDao,xml的我写成了PruductDao.xml。
需检查dao层接口与xml是否一致

如何解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):问题

一定要细心

相关文章:

  • 2021-05-08
  • 2022-12-23
  • 2021-11-15
猜你喜欢
  • 2021-05-12
相关资源
相似解决方案