- springboot version:2.5.2
- elasticsearch version:7.3.0
- elasticsearch-client: rest-hight-level
- the entity
@Id
public String id;
public long uid;
public long tid;
public int type;
public int recordType;
public int code;
public double cost;
public double costNonpay;
public int costType;
public String remark;
@Field(type = FieldType.Date, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z")
public Date time;
- error
org.springframework.data.elasticsearch.core.convert.ConversionException: Unable to parse date value '2021-02-21T14:19:27+08:00' of property 'Trade.time' with configured converters