问题
DubboMetadataServiceInvocationHandler : Failed to invoke the method $invoke in the service org.apache.dubbo.rpc.service.GenericService. No provider available from registry 127.0.0.1:8848 for service com.xxx.systemservice.rpcservice…
原因
- spring-cloud-alibaba-dependencies提供的dubbo版本过低
解决
- 排除spring-cloud-alibaba-dependencies提供的dubbo,换用更高版本的dubbo springboot starter
本问题或解决方案仅局限于个人所遇到的问题
由于使用了spring-cloud-alibaba-dependencies提供的低版本dubbo,导致出现了DubboMetadataServiceInvocationHandler调用GenericService失败,报错信息显示没有从127.0.0.1:8848注册中心找到服务提供者。为解决此问题,建议排除spring-cloud-alibaba中的dubbo依赖,改用更高版本的dubbo-spring-boot-starter。
4766

被折叠的 条评论
为什么被折叠?



