错误:
Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.dateformat.dao.LcHumanDao.selectAllCount] with root cause
原因:dao层映射未配置正确
解决方式:
1、检查
2、是否添加包扫描
3、如果mapper的xml文件不是严格按照项目目录结构创建,是否配置了mybatis的xml映射路径
Invalid bound statement (not found)
最新推荐文章于 2025-01-28 13:17:42 发布