dubbo
dubbo copied to clipboard
序列化问题 获取对象的属性值为空
dubbo 2.7.12 接口的返回值为RpcResponse<ResourcePlaceMaterialDTO<WaterFallMaterialDTO>> WaterFallMaterialDTO extend MaterialBaseBase WaterFallMaterialDTO对象中的属性获取为空 MaterialBaseBase 的属性对象不存在 (PS:使用json 打印出来) 有大佬知道为啥吗?
你类的属性值都是什么? 子类是否重写了父类的 属性值?
都是string 类型的,没有重新
是不是 WaterFallMaterialDTO 和 MaterialBaseBase 中有同名属性,如果有同名的话 hessian 是无法处理的