去除idea中@Autowired報紅

1.單機idea右下角的小人。 2.點擊Configure inspections,找到Spring Core 中的Code下的Autowiring for Bean Class. 3.將Severity對應值如圖所示。就可以了。
相關文章
相關標籤/搜索