I am experimenting in combining Jackson and Lombok. Those are my classes:
package testelombok;
import com.fasterxml
I had exactly the same issue, "solved" it by adding the suppressConstructorProperties = true parameter (using your example):
@Value
@Wither
@AllArgsConstructor(suppressConstructorProperties = true)
public class TestFoo {
@JsonProperty("xoom")
private String x;
private int z;
}
Jackson apparently does not like the java.beans.ConstructorProperties annotation added to constructors. The suppressConstructorProperties = true parameter tells Lombok not to add it (it does by default).