Eclipse - vasanthsumanath/MyWIKI GitHub Wiki

Error

Post adding Lombok annotation @Data, the getter and setter not getting automatically set in MAC.

  • Get the Lombok jar from the maven repo

${HOME}/.m2/repository/org/projectlombok/lombok/1.18.12/lombok-1.18.12.jar

  • Place the same inside package contents of eclipse for mac, details below

       Search for eclipse under Application
    
       Right Click on eclipse, show Package Contents
    
       under Contents>MacOS> place the copied jar.
    
  • Now place the below vm argument inside eclipse.ini (Contents>Eclipse>)

-javaagent:lombok-1.18.12.jar