解决问题:com.alibaba.dubbo.rpc.RpcException

严重: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the service com.pinyougou.sellergoods.service.BrandService. Tried 3 times of the providers [192.168.129.1:20881] (1/1) from the registry 192.168.25.25:2181 on the consumer 192.168.129.1 using the dubbo version 2.8.4. Last error is: Invoke remote method timeout. method: findAll, provider: dubbo://192.168.129.1:20881/com.pinyougou.sellergoods.service.BrandService?anyhost=true&application=pinyougou-manager-web&check=false&dubbo=2.8.4&generic=false&interface=com.pinyougou.sellergoods.service.BrandService&methods=findAll&pid=17076&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1551923914907, cause: Waiting server-side response timeout. start time: 2019-03-07 09:59:24.196, end time: 2019-03-07 09:59:25.197, client elapsed: 0 ms, server elapsed: 1001 ms, timeout: 1000 ms)

记录一下自己出现这个问题时的解决方法.

报错信息显示 的时RPC远程调用出现了问题,刚开始我也在百度上受了很多的关于这个问题的解决方法.大多数说是
1: pojo没有实现序列化 (implements serializable)
2:网段对应的问题

我发现以上都不是我的问题,后来想想出现RpcException这个原因,只要是调用环节中出现问题都会报这个错误.所以最好的解决方法是沿着整个流程逐一排查.后来发现是自己的数据库的服务没有启动,或者说是启动后被加速器给杀死了
解决问题:com.alibaba.dubbo.rpc.RpcException
就是这货.

解决问题:com.alibaba.dubbo.rpc.RpcException
所以需要重新启动数据库服务
解决问题:com.alibaba.dubbo.rpc.RpcException