我无法将这个新的字段添加到我的构造函数中,这在json中不存在,并且抛出下面的错误,有人可以帮我解决这个问题。我已经尝试了两种注释@JsonIgnoreProperties和@JsonIgnore和@JsonIgnoreProperties(ignoreUnknown = TRUE)和一流水平,并构造层次 下面是我的代码和错误信息按照相同的 public static class Location
我的实体类以下 @Entity
@table
public class User {
@OneToOne
private UserProfile userProfile;
// others
}
@Entity
@Table
public class UserProfile {
@OneToOne
private Countr