在做一个OA系统,前后端数据传输过程中,发生这个错误
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of java.util.ArrayList out of VALUE_STRING token; nested exception is
经过多次排查和Debug 发现是json格式对不上,将json格式对上就好了,特别是数组不能对应单个字符串,,,我就是这个错误
OA系统前后端数据传输JSON格式错误解决
在开发OA系统时,前后端数据传输出现org.springframework.http.converter.HttpMessageNotReadableException错误。经多次排查和Debug,发现是JSON格式不匹配导致,尤其数组不能对应单个字符串,将JSON格式调整一致后问题解决。
1696

被折叠的 条评论
为什么被折叠?



