项目场景:
提示:这里简述项目相关背景:
例如:项目场景:微服务之间调用返回分页查询时出现的错误
问题描述:
提示:这里描述项目中遇到的问题:
例如:数据传输过程中数据不时出现丢失的情况,偶尔会丢失一部分数据
APP 中接收数据代码:
Caused by: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce empty String ("")
to `net.huansi.gdep.production.vo.FinanceVO`
value (but could if coercion was enabled using `CoercionConfig`); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException:
Cannot coerce empty String ("") to `net.huansi.gdep.production.vo.FinanceVO` value (but could if coercion was enabled using `CoercionConfig`)
原因分析:
api服务中的类与服务中的类的属性不符,同步一下属性就可以了
解决方案:
api服务中的类与服务中的类的属性不符,同步一下属性就可以了