Lombok and Maven

前端 未结 4 1978
一整个雨季
一整个雨季 2020-12-28 16:41

I\'m trying to use Lombok with Maven and VRaptor on IntelliJ but it doesn\'t work.

I already read some info in stackoverflow but none solved my problem, i already en

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 16:55

    This should work as is, and has nothing to do with IntelliJ idea. But I would:

    • make sure the @Data annotation is the lombok one
    • remove the repository definition (maven central is fine)
    • use a recent lombok version (1.16.0 as of this writing)
    • rebuild (mvn clean package)

    I think the lombok jar is not found by maven in your case or that you might have another @Data.

提交回复
热议问题