【异常处理】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,现在换成通配符*,如下图


浙公网安备 33010602011771号