idea @Autowired mapper報錯

這是idea智能提示功能,其實不影響代碼的運行:spring 有兩種辦法:app 1.在mapper類上加註解:@Repositoryide 2.在idea中修改Autowired的智能提示爲非error級別,idea 1)ctrl+alt+s(打開setting快捷鍵)blog 2)Inspectionsit 3)在右側搜索框中找spring coreio 4)將Autowiring for B
相關文章
相關標籤/搜索