Invalid bound statement (not found)(无法绑定)
mybatis中遇到
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.kj.dao.IAccountDao.findAll04
问题
第一种问题:
数据库的.xml文件是否SQL语句有问题和里面的namespace路径是否对应的dao层接口
第二种问题:
用package方式映射文件和接口名称要一致
底层源码:String xmlResource = this.type.getName() .replace('.','/') + ".xml"


浙公网安备 33010602011771号