Lombok problems with Eclipse Oxygen

后端 未结 20 1015
南方客
南方客 2020-12-02 16:40

I upgraded recently to the new Eclipse version (Oxygen). I downloaded the lombok.jar from the website and installed it. This is how the eclipse.ini looks like a

20条回答
  •  情话喂你
    2020-12-02 17:35

    follow below steps to fix lombok issue in eclipse

    1. First download the lombok jar ( add to pom , it will download . u can run from that location(from your maven repository location)
    2. run jar from you maven repo location (java -jar lombok.jar)
    3. select ur eclipse.exe location and install.
    4. Add jar to maven/class path

    After this you will able to see these below lines in eclipse.ini file

    -javaagent:locaton of lombok.jar
    -Xbootclasspath/a:lombok.jar

    Note - if any line missing after follow these steps then add into your eclipse.ini and enjoy ur work.

提交回复
热议问题