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
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
一开始感觉是mapper绑定错误 看了看命名空间对应![在这里插入图片描述](https://img-blog.****img.cn/20191004155104747.png?x-oss-procnested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
target
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
解决最后发现:spring配置的时候没有扫描到全部的mapper.xml文件
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
解决方案:
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
扫描到所有的mapper文件