in intellij make sure you enable annotation processing for lombok in preferences->compiler