Tutorials / Tech blog / Geek Zone

Latest Posts

Friday, December 7, 2018

Lombok :: Not generating getters and setters in STS

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 !!


  1. Error: Unable to access jarfile lombok-1.18.12.jar giving while trying to access lombok file from cmd

  2. Can you check if there's any file permission issue...or maybe try giving the exact path of your jar file

  3. Hi when i trying to configure Lombok .it showing permission related issue can u help me on this