我無法將這個新的字段添加到我的構造函數中,這在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