you need to install the lombok plugin for eclipse.

this baeldung article describes the installation process in full, but the essence is:

  1. download the latest lombok jar
  2. at a command prompt run java -jar lombok-x.x.x.jar which launches the installer ui
  3. locate the eclipse installation
  4. click install / update

Related Query

More Query from same tag