-2

I'm trying to introduce Lombok annotations into a Maven Java project in IntelliJ IDEA and followed the steps here and here.

@Data annotation (for one) is not being recognized:

enter image description here

enter image description here

Here's the relevant Maven stanza:

    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.16.18</version>
    </dependency>
</dependencies>

I'm on Idea 2017.3.2 CE.

I tried the solution mentioned here, it doesn't work:

enter image description here

Doing File | Invalidate Caches & Restart didn't help.

What am I missing here?

EDIT: This question is NOT a duplicate. I did do all the necessary research prior to posting it. Don't believe those claiming otherwise.

Simeon Leyzerzon
  • 18,658
  • 9
  • 54
  • 82

0 Answers0