为何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
相关文章
相关标签/搜索