***需要注意
1.xml中namespace是接口定义的全类名
2.xml中有无空字符,xml中sql语句中方法是否有空格或者无效字符 ,仔细检查xml文件,如:id=“test"这个是正确的 id=” test"就是错误的,因为多了空格。
mybatis中org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)错误
最新推荐文章于 2023-05-13 21:51:09 发布
***需要注意
1.xml中namespace是接口定义的全类名
2.xml中有无空字符,xml中sql语句中方法是否有空格或者无效字符 ,仔细检查xml文件,如:id=“test"这个是正确的 id=” test"就是错误的,因为多了空格。