nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
浏览器报错HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.sya.dao.TeacherMapper.login
一开始感觉是mapper绑定错误 看了看命名空间对应![在这里插入图片描述](https://img-blog.****img.cn/20191004155104747.png?x-oss-proc
target
解决最后发现:spring配置的时候没有扫描到全部的mapper.xml文件
解决方案:
扫描到所有的mapper文件