org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

来源:互联网 发布:蜂群算法 多目标规划 编辑:程序博客网 时间:2024/05/02 01:57

在junit测试时出现:

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

解决:

在test目录下放跟java目录同级的mapper文件,例如:test/resources/mapper/XXXmapper.xml。
这个问题主要是数据库xml文件路径不对

阅读全文
0 0
原创粉丝点击