Can not deserialize instance of xxx out of START_ARRAY token

Json 反序列化异常

Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Can not deserialize instance of 
com.consumer.pojo.Message out of START_ARRAY token
 at [Source: java.io.PushbackInputStream@fb2a87b; line: 1, column: 1]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of com.consumer.pojo.Message out of START_ARRAY token

 

ll

posted @ 2018-09-18 23:44  抽象Java  阅读(1924)  评论(0编辑  收藏  举报