idea開發,在使用SSM框架的時候,在service層用@Autowired獲取dao層接口對象,如何將錯誤解決

簡單粗暴,修改idea:

File-->Settings-->Editor-->Inspections-->Spring-->Spring Core-->Code-->Autowiring for Bean Class

         

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章