启动出现
Could not autowire. No beans of '' type found. less... (Ctrl+F1) Checks autowiring problems in a bean class
错误,网上找了很多办法都是进setting把IDE的提醒去掉,但我觉得这跟掩耳盗铃没啥区别,终于看到了一个正解
解决办法:在DAO层添加@Repository注解
Could not autowire. No beans of '' type found. less... (Ctrl+F1) Checks autowiring problems in a be
最新推荐文章于 2023-03-10 18:40:30 发布
本文介绍了一种在DAO层遇到Could not autowire. No beans of 'type' found.错误的解决方案,不同于常见的关闭IDE提醒的方法,而是通过在DAO层添加@Repository注解来正确定位并解决问题。
4046





