Complete steps to fix or configure lombok.
1. Add dependency
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.8</version> <scope>provided</scope> </dependency>
2. Install the plugin of Lombok for ide. File > Settings > Plugins > Search (lombok) > install
3.Ticking the "Enable annotation processing" checkbox using below steps:- Settings->Compiler->Annotation Processors
4.Restart for change to take effect.