一、改前端
加入格式化: value-format="yyyy-MM-dd HH:mm:ss"
<el-date-picker v-model="formValidate.pastDueTime" value-format="yyyy-MM-dd HH:mm:ss" type="datetime" placeholder="选择日期时间" />
二、改后端实体类
注释掉 @JsonFormat 注解
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date pastDueTime;
- deserialize 方法 Cannot String valuedeserialize方法cannot string representation deserialize cannot string deserialize start_array instance cannot value pushbackinputstream deserialize start_array components function cannot string value should string cell numberformatexception cannot string问题 incorrect string问题value baseurl方法cannot valid 缓冲区writing方法cannot