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×tamp=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

你可能感兴趣的:(com.alibaba.dubbo.rpc.RpcException:Failed to invoke the method)