博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
spring dubbo 报错
阅读量:2377 次
发布时间:2019-05-10

本文共 1561 字,大约阅读时间需要 5 分钟。

org.apache.dubbo.rpc.RpcException: Failed to invoke the method saveOne

in the service fun.chanvo.service.ITbProductService. Tried 3 times of
the providers [192.168.0.209:20880] (1/1) from the registry
on the consumer 192.168.0.209 using the dubbo version 2.7.3. Last error is: Failed to invoke remote method: saveOne,
provider:
dubbo://192.168.0.209:20880/fun.chanvo.service.ITbProductService?anyhost=true&application=manager-web&bean.name=ServiceBean:fun.chanvo.service.ITbProductService:1.0&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=fun.chanvo.service.ITbProductService&lazy=false&methods=removeById,lambdaQuery,save,removeByMap,saveOne,update,getObj,saveOrUpdateBatch,remove,queryList,listByIds,getBaseMapper,removeByIds,lambdaUpdate,updateBatchById,saveOrUpdate,listMaps,saveBatch,query,count,listObjs,list,getMap,updateById,pageMaps,listByMap,getById,getOne,page&pid=820&qos.enable=false&register=true&register.ip=192.168.0.209&release=2.7.3&remote.application=manager-service&revision=1.0&side=consumer&sticky=false&timeout=3000&timestamp=1574042541981&version=1.0,
cause: org.apache.dubbo.remoting.RemotingException:
io.netty.handler.codec.EncoderException:
java.lang.IllegalStateException: Serialized class
fun.chanvo.domain.dto.product.ProductSaveDTO must implement
java.io.Serializable io.netty.handler.codec.EncoderException:
java.lang.IllegalStateException: Serialized class
fun.chanvo.domain.dto.product.ProductSaveDTO must implement
java.io.Serializable

如异常所说 给controller及service中传递的对象加上 implements Serializable

在这里插入图片描述

转载地址:http://cpaxb.baihongyu.com/

你可能感兴趣的文章
大数据会带来越来越细的标准
查看>>
你不知道的天猫“双十一”:大数据成为新驱动力
查看>>
大数据汹涌来袭机遇和风险并存
查看>>
11111
查看>>
大数据和预测分析的非常规性用途
查看>>
在大数据时代兼顾安全与自由
查看>>
券商跃跃欲试电子商务 期待大数据创新有所突破
查看>>
大数据成电影新驱动?理性对待
查看>>
以大数据视角 看住房信息普查
查看>>
心急吃不了热豆腐 脚踏实地玩儿转大数据
查看>>
中国电信大数据价值挖掘:聚焦商业模式探索
查看>>
“大数据”时代的喜与忧
查看>>
政府搭建云平台 迎接“大数据时代”
查看>>
宁家骏:大数据比云计算更为落地
查看>>
IBM PureData:破解大数据的利器
查看>>
实施大数据项目时所需要做的三件事
查看>>
北京开放政府信息资源 “大数据”供社会化利用
查看>>
数据安全在裸奔:大数据是黄金更是刺刀
查看>>
互联网金融火爆预示大数据时代来临
查看>>
大数据安全和隐私问题永远无法解决
查看>>