【异常处理】mybatis报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

发现问题

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) top.ambtwill.dao.DepartmentMapper.select
mapper文件报错

原因

检查有没有将mapper文件绑定到容器中,发现原来之前只绑定一个mapper,现在换成通配符*,如下图

posted @ 2022-02-22 14:48  weiambt  阅读(71)  评论(0)    收藏  举报