异常描述:
A component required a bean named 'DubboStoreServiceImpl' that could not be found.
原因:
在dubbo的XML配置文件中编写对外暴露dubbo服务接口的标签时,ref = "" 写的是真正服务的类名,2而我在这个实现类上面顶的@Service("")里面写的明子和ref引用的名字不一致,导致组件找不到改bean
异常描述:
A component required a bean named 'DubboStoreServiceImpl' that could not be found.
原因:
在dubbo的XML配置文件中编写对外暴露dubbo服务接口的标签时,ref = "" 写的是真正服务的类名,2而我在这个实现类上面顶的@Service("")里面写的明子和ref引用的名字不一致,导致组件找不到改bean