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

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

这个异常是mybatis绑定异常,说明没有找到mapper。

错误原因:mapper接口的名字和mapper文件的名字要一致才行。

我的mapper接口:
...ibatis.binding.BindingException: Invalid bound statement (not found)....

我的namespace:
...ibatis.binding.BindingException: Invalid bound statement (not found)....
而我的mapper文件名:
...ibatis.binding.BindingException: Invalid bound statement (not found)....将文件名改为ArchiveMapper就可以了。

这是其他小伙伴的建议,我拿来借用下:瓦萨琪集团的Java程序员

...ibatis.binding.BindingException: Invalid bound statement (not found)....
实在不行clean一下试试。