摘要: “Could not autowire. No beans of 'UserMapper' type found”,今天遇到的一个问题记录一下吧! 我是因为扫描包的顺序有问题,如下图, 先扫描了controller和service,结果service里面又注入了dao但是这时候dao还没有被扫描到所 阅读全文
posted @ 2019-12-06 11:31 请叫我靓仔 阅读(1761) 评论(0) 推荐(0) 编辑