Lombok does not create getter and setter methods after using @Data
问题 I have gradle spring boot project and I added Lambok dependency in build.gradle. I created one model class and want to use lombok. I have added @Data annotation but still setter and getter methods are not generated. Sample code : import lombok.Data; @Data public class TestLambok { private int id; private String name; private String summary; } 回答1: For use Lombok Plugin, you need the following steps (at least on IntelliJ): Install Lombok Plugin Enabling Annotation Processing Restart IDE For