idea @Autowired注入對象時有報錯解決

在學習springboot+mybatis整合時遇到這樣的錯誤:使用@Autowired注入一個類之後飄紅,能正常使用,但是看着彆扭,究其原因是idea沒有配置好. 只需要更改idea的代碼審查級別就OK了,如圖:
相關文章
相關標籤/搜索