解决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的名字写错了,所有找不到
解决HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.binding.Binding
最新推荐文章于 2024-08-18 18:58:40 发布
本文详细解析了HTTP状态码500错误中,MyBatis BindingException异常的定位与解决过程,指出问题根源在于mapper.xml文件名拼写错误导致的映射失败。
978

被折叠的 条评论
为什么被折叠?



