Dubbo的com.alibaba.dubbo.rpc.RpcException解决方法
失败问题:
1 | Caused by: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method subscribe in the service com.alibab |
解决方法:
这个是由于dubbo接口中的的传输对象没有被序列化而导致的,只需要要检查dubbo接口中参数中的实体类实现序列化(implements Serializable)就可以解决这一个异常。