@Autowired註解注入失敗,提示could not autowire的解決辦法

controller層無法調用接口層提示could not autowire的解決辦法 主要原因是因爲我們的spring檢驗級別的問題,我們可以通過降低檢驗的安全級別就可以解決這一問題。 File —> Settings—>Editor—>Inspections—>Spring————》將最右邊的Serverity改爲Warning          
相關文章
相關標籤/搜索