Building with Lombok’s @Slf4j and Intellij: Cannot find symbol log

In addition to having Lombok plugin installed, also make sure that the “Enable annotation processing” checkbox is ticked under:

Preferences > Compiler > Annotation Processors

Note: starting with IntelliJ 2017, the “Enable Annotation Processing” checkbox has moved to:

Settings > Build, Execution, Deployment > Compiler > Annotation Processors

Leave a Comment