Idea spring boot cannot autowired 解决方法

手动设置将安全级别从error降到warning

idea file
settings
editor
codes style
inspections
spring
spring core
autowiring for bean class
将右侧的severity 的error 改为warning

这里写图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42129373/article/details/81325613