Intellij doesn't recognize @SLF4J annotation. I have the following error:
Error:(105, 9) java: cannot find symbol
symbol: variable log
location: class com.xxxxx.SdsConfig
knowing that I have already Enable annotation processing (Settings -> Compiler -> Annotation Processors)
I use java 8 compiler.
Use lombok plugin for Intellij:
https://plugins.jetbrains.com/plugin/6317
This will highlight everything correctly and allow you to use auto completion for generated methods.
Note that some features (like @val) are supported in Intellij 14.1 and newer.
In Intellij version 2016, 2017, the enabling of
Preferences -> Compiler -> Annotation Processors
did not work for me.
The following additional checkbox did help:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With