![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
json
luo_yu_1106
这个作者很懒,什么都没留下…
展开
-
@JsonFormat日期少一天
原博客:https://www.cnblogs.com/winner-0715/p/6264172.html 解决办法: @JsonFormat(pattern="yyyy-MM-dd") private Date birth; 改成 @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date birth; ...转载 2019-05-30 10:37:52 · 593 阅读 · 0 评论 -
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
在使用restTemplate调用接口,返回的参数封装成实体,这个实体里又有个参数是List<实体>的时候报这个错误 贴一下返回的实体 @Getter @Setter @ToString public class LoginRespEntity implements Serializable{ protected LoginRespEntity() { super(...原创 2019-06-18 11:58:54 · 1891 阅读 · 0 评论