com.alibaba.dubbo.rpc.RpcException:Failed to invoke the method

 

自己粗心大意犯的错,实体类没有实现序列化     

 

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method insertContractlog in the service com.cargocn.cloud3.trans.service.IRiskContractLogService. Tried 3 times of the providers [172.16.10.79:24882, 172.16.10.111:24882, 172.16.10.143:24882] (3/3) from the registry 172.16.10.40:21813 on the consumer 172.16.10.143 using the dubbo version 2.5.3. Last error is: Failed to invoke remote method: insertContractlog, provider: dubbo://172.16.10.111:24882/com.cargocn.cloud3.trans.service.IRiskContractLogService?anyhost=true&application=pay_consumer&check=false&dubbo=2.5.3&interface=com.cargocn.cloud3.trans.service.IRiskContractLogService&logger=slf4j&methods=insertContractlog,getRiskContractLogBycontractId&pid=9452&revision=1.0-SNAPSHOT&side=consumer&timeout=60000&timestamp=1531895124169&weight=50, cause: Failed to send message Request [id=43, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=insertContractlog, parameterTypes=[class com.cargocn.cloud3.trans.bean.RiskContractLog], arguments=[com.cargocn.cloud3.trans.bean.RiskContractLog@2922e07e], attachments={path=com.cargocn.cloud3.trans.service.IRiskContractLogService, interface=com.cargocn.cloud3.trans.service.IRiskContractLogService, version=0.0.0, timeout=60000}]] to /172.16.10.111:24882, cause: Serialized class com.cargocn.cloud3.trans.bean.RiskContractLog must implement java.io.Serializable

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值