I am getting this error for this class while deserializing the data, any input what I am doing wrong here:
Cannot construct instance of `Test` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
@Getter
@Builder(builderClassName = "Builder")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Test
{
public Test(String service, String user) {
this.service = service;
this.user = user;
}
private static final long serialVersionUID = 1L;
@JsonProperty("service")
private String service;
@JsonProperty("user")
private String user;
@SuppressWarnings("java:S2094")
public static class Builder
{
}
}