爲何Controller層注入的是Service接口,而不是ServiceImpl實現類

爲何Controller層注入的是Service接口,而不是ServiceImpl實現類 今天在用maven+ssm時,發現一直提示報錯:php Error creating bean with name ‘本身定義的實現類’: Injection of autowired dependencies failed; nested exception is org.springframework.b
相關文章
相關標籤/搜索