If you’ve tried everything else, the solution might be simpler than expected! Just follow these steps carefully:
- Go to Settings > Build, Execution, Deployment > Compiler >
Annotation Processors. Select your microservice module (make sure to
choose the correct one very carefully).
- Check the option "Obtain processors from project classpath"
- Apply the changes, rebuild the project, and Lombok should start
working as expected.