Inheritance with lombok annotation get errors
问题 In my project, lombok is used to avoid writing getters and setters for a class. I have two classes Child extends Parent : @Value @Builder @AllArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public class Parent { @Nonnull @JsonProperty("personId") private final String personId; @JsonProperty("personTag") private final String personTag; ... } And @Value @Builder @AllArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public class Child extends Parent { @Nonnull @JsonProperty