javaintellij-ideaintellij-13lombok

Lombok with IDEA 13: Cannot find symbol


I have tried using Lombok on Intellij IDEA 13 Ultimate. However. I get the famous error "cannot find symbol" for all the methods that should have been available when I am using specific annotations for example the once I use as annotations are @Builder, @AllArgsConstructor and @Data.

I have already set my compiler to enable annotation processing and I have looked deeply into it, but with no solution of how to solve it.

Any advice or tips would be nice.


Solution

  • Kind of old question here, but I came across the same problem today. I had to do two things to make it work:

    1. Set annotation processing on: Settings -> Compiler -> Annotation Processors
    2. Change from ajc to javac for the project: Compiler -> Java Compiler

    you of course also need the Lombok plugin.