解决idea提示:Could not autowire. No beans of 'AreaDao' type found. less... (Ctrl+F1)

项目中出现Could not autowire. No beans of ‘AreaDao’ type found.这个问题实在很烦人,所以探索一番找到解决步骤,记录一下
解决idea提示:Could not autowire. No beans of 'AreaDao' type found. less... (Ctrl+F1)
遇到这个问题,是spring的问题,spring的一个idea插件找实现类的问题,以为找不到实现类给出的提示!

解决方法如下:
将error修改为warning级别即可
解决idea提示:Could not autowire. No beans of 'AreaDao' type found. less... (Ctrl+F1)