spring为什么注入的是接口 spring注入接口还是实现类 Spring中接口注入的方式是怎样的?看看你的错误报告你应该只把@service annotation添加到userserviceinpl当spring注解模式依赖注入... 2021-03-14 1312次浏览