IntelliJ Idea doesn't recognize Lombok's annotations

This question already has an answer here:

  • Can't compile project when I'm using Lombok under IntelliJ IDEA 19 answers

  • What helped was going into File | Project structure and adding a library from Maven (via search for org.projectlombok there):

    在这里输入图像描述

    That downloaded the missing jar into the local repo which I assumed should have been done by the Lombok plugin.

    Seems to be yet another IntelliJ Idea bug or at least a shortcoming not clearly mentioned in neither Lombok nor IntelliJ plugin documentation. I've opened an issue here, perhaps this will save some struggle to other developers in the meantime.

    链接地址: http://www.djcxy.com/p/96596.html

    上一篇: IntelliJ Idea lombok不会出现在intellisense中

    下一篇: IntelliJ Idea不承认Lombok的注释