Lombok :: Not generating getters and setters in STS
·Dec 7, 2018·
1 min read
If you use Spring Tool Suite IDE (STS - by Pivotal) and have tried exploring Lombok, you might have experienced that it doesn't work out of the box (i.e. just adding it to Maven project's POM file).
Following are steps which will help configure Lombok for our IDE.
- Include Lombok dependency in the POM of the relevant Maven project
- Exit or Shutdown STS
- Locate lombok jar in ~/.m2/repository/org/projectlombok/lombok/1.xy.z/lombok-1.xy.z
- Execute the following command from CLI
- Specify the STS executable location
- Start STS
Hey presto job done !!