IDEA工具開發使用@Autowired註解報錯解決方案

使用IDEA工具進行開發的時候,需要@Autowired自動註解bean時回報紅線,但是項目依然能夠運行 現有的解決的方案是: 打開file-settings或者ctrl+alt+s -> Editor 然後在Inspections 點擊搜索欄 輸入Spring Core 在Spring Core -> Code -> Autowring for Bean Class中將Severity的級別由之
相關文章
相關標籤/搜索