您的位置:首页 > 编程语言 > Java开发

.TbItem must implement java.io.Serializable

2018-03-25 23:20 309 查看
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getItemList in the service com.taotao.service.ItemService. Tried 3 times of the providers [192.168.137.1:20880] (1/1) from the registry 192.168.137.132:2181 on the consumer 192.168.137.1 using the dubbo version 2.5.3. Last error is: Failed to invoke remote method: getItemList, provider: dubbo://192.168.137.1:20880/com.taotao.service.ItemService?anyhost=true&application=taotao-web&check=false&dubbo=2.5.3&interface=com.taotao.service.ItemService&methods=getItemList,findItemById&pid=9980&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000×tamp=1521990468036, cause: Failed to send response: Response [id=5, version=2.0.0, status=20, event=false, error=null, result=RpcResult [result=com.taotao.bean.EasyUIDataGridResult@b1bb8, exception=null]], cause: java.lang.RuntimeException: Serialized class com.taotao.pojo.TbItem must implement java.io.Serializable
Java field: private java.util.List com.taotao.bean.EasyUIDataGridResult.rows

 这个错误啊 我们研究了一小会 才发现  一定在domain上 添加序列化。
implements Serializable
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  项目