Mapped Statements collection does not contain value for com.itheima.po.CustomerMapper.findCustomerById
学习mybatis时遇到的一个问题,解决办法如下:
检查mapper.xml文件中定义的namespace还有方法的id,是否和sqlsession调用时编写的路径一致,一定要仔细检查啊。
Mapped Statements collection does not contain value for com.itheima.po.CustomerMapper.findCustomerBy
最新推荐文章于 2024-05-17 14:37:10 发布