Jar Package: http://172.16.163.52:8081/nexus/#nexus-search;quick~lombok
A jar package is not available and needs to be installed Lombok to eclipse.
The installation process is as follows:
Windows environment
1. Download Lombok.jar Package https://projectlombok.org/download.html
2. Run Lombok.jar: Java -jar D:\software\lombok.jar
D:\software\lombok.jar This is where Windows Lombok.jar is located
数秒后将弹出一框,以确认eclipse的安装路径
3. After confirming the installation path of Eclipse, click the Install/update button to complete the installation.
4. After the installation is complete, verify that there is a Lombok.jar package under the Eclipse installation path and that the
-javaagent:lombok.jar
如果上面的答案均为true,那么恭喜你已经安装成功,否则将缺少的部分添加到相应的位置即可
5. Restart Eclipse or MyEclipse
Ubuntu Environment
基本步骤和上面一样,在第二步
2. Execution java -jar /home/user/software/eclipse/lombok.jar
/home/user/software/eclipse/lombok.jar is the directory where my Lombok.jar is located. My eclipse is installed in
/home/user/software/eclipse/目录下执行完成之后,查看eclipse.ini文件查看:
-javaagent:/home/user/software/eclipse/lombok.jar
Using Lombok in Eclipse