Lombok with Spring Tool Suite 4

后端 未结 13 2086
长发绾君心
长发绾君心 2020-12-28 09:01

I\'ve recently installed the new Spring Tool Suite 4 in macOS High Sierra but when I tried to run Lombok\'s installation it wouldn\'t find my STS installation,

I fol

13条回答
  •  暖寄归人
    2020-12-28 09:26

    the easiest way you can do is that by running the following command on command prompt

    java -jar (jar location/lombok.1.8.1.jar) install (the path where you installed Spring tool suite(STS))
    

    for example:

    java -jar C:\Users\karthick\.m2\repository\org\projectlombok\lombok\1.18.8\lombok-1.18.8.jar install D:\STS_Tool\spring-tool-suite-4-4.1.2.RELEASE-e4.10.0-win32.win32.x86_64\sts-4.1.2.RELEASE
    

    after that, you have to restart the tool.

提交回复
热议问题