![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
feign
文章平均质量分 58
Haiking_li
这个作者很懒,什么都没留下…
展开
-
feign调用接口中,实体类中的Date类型字段转换异常的问题
记在feign调用中,因为实体中有Date类型的字段,导致系列化时报错,最终导致调用失败。feign.codec.DecodeException: JSON parse error: Can not deserialize value of type java.util.Date from String "2018-03-07 16:18:35": not a valid representation (error: Failed to parse Date value '2018-03-07 16:18原创 2021-08-06 17:19:38 · 1765 阅读 · 0 评论 -
解决 ‘Content-Type‘ cannot contain wildcard type ‘*‘异常和JSON parse error: Cannot deserialize value of
feign调用中遇到的问题记:今天开发中遇到feign调用时,遇到时间转换的问题{“timestamp”:“2021-08-03T06:04:53.342+0000”,“status”:400,“error”:“Bad Request”,“message”:"JSON parse error: Cannot deserialize value of type java.util.Date from String “2021-08-03 14:04:53”: not a valid representat原创 2021-08-03 14:57:41 · 3487 阅读 · 0 评论