使用dubbo对外暴露接口,实现类同时实现两个接口后 @Autowire失败,提示expected single matching bean but found 2解决方案
当使用dubbo对外暴露接口时,为了方便继承和实现底层方法,另一方面专门对外提供一套接口方法,这时接口实现类同时实现了两个接口:@Service("ICentAccountInfoService")public class CentAccountInfoServiceImpl extends AbstractPageService<IBaseDAO<CentAccountInfo
原创
2016-06-02 17:06:35 ·
26959 阅读 ·
2 评论