摘要: Could not autowire. No beans of 'UserDao' type found 如图,是因为idea检测能力太强,一旦没有找到实现类就会报错,但是我试了,这里其实是注入进来了的,可以正常使用的,但是强迫症,报红看着很难受。 解决办法如下: 将Error降为Warning 然 阅读全文
posted @ 2019-04-23 15:08 X凯 阅读(3114) 评论(1) 推荐(0)