JSON parse error: Cannot deserialize value of type `java.util.Date` from String

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;

你可能感兴趣的:(JSON parse error: Cannot deserialize value of type `java.util.Date` from String)