To resolve this, you either need to change constructor to: @JsonCreator public AnObject (@JsonProperty ("field") AnEnum when) { } or (assuming you have JDK8 ...
確定! 回上一頁