install lombok

IntelliJ IDEA

Just install the lombok plugin from plugin repository.

Eclipse (or STS)

  1. Dwonload the lombok jar file from official site or from our chat group. And can also get it from local maven repository ~/.m2/repository/org/projectlombok/lombok/
  2. java -jar , select the eclipse installation location in the popup window.
  3. Make sure the follow line is in the eclipse.ini or STS.ini
    -javaagent:lombok.jar
    -Xbootclasspath/a:lombok.jar
    

    ps: /a : append class path

  4. elipse is buggy, maybe need exit and start (Restart doesn’t take effect) and Maven -> Update Project.