Idea解决Could not autowire. No beans of ‘xxxx‘ type found的错误提示
Idea解决Could not autowire. No beans of ‘xxxx’ type found的错误提示更新了idea版本之后,在使用autowired注解都爆了错,虽然发觉不影响使用,但是看着红红的一片就十分别扭,以下有两种解决方案1:修改idea对auto错误的警告级别改成warning就不会报错了2:造成这个问题的原因是没有将bean注入,可以在接口上加上注释...