Invalid bound statement (not found)
项目初构建好后注入Mapper 提示 Could not autowire. No beans of 'xxxxMapper' type found ,要给映射接口加个@Component接口vhr项目构建好的第二个问题,后端接口,用了springsecurity,但是login页面登录却说Invalid bound statement (not found),后台也报错翻阅资料发现这种情况出现有这几种情况:mapper.xml 里面的 namespace与实际类不一样mapper接口的函数名.
原创
2021-02-25 18:08:30 ·
3286 阅读 ·
0 评论