解决HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.Binding

解决HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.wzb.crm.mapper.DepartmentMapper.findAll

这里报错说找不到binding,那么根据提示就知道是数据访问层出错了,就是dao层,mapper.xml映射不到,所以重点放在排查mapper.xml就好了
在这里插入图片描述 经过排查发现xml的名字写错了,所有找不到