解决idea@Autowired报红线问题

1.点击右下角的小老头

2.点击Configure inspections

3.输入spring找到 spring core中的Autowiring for bean class,选择Severity中的Error改为Warning.

发布了27 篇原创文章 · 获赞 0 · 访问量 581

猜你喜欢

转载自blog.csdn.net/qq_40209717/article/details/104722289