This article is a mirror article of machine translation, please click here to jump to the original article.

View: 27567|Reply: 0

[Source] 【Practice】Eclipse installs the lombok plugin

[Copy link]
Posted on 6/22/2021 11:27:12 AM | | | |
Lombok is a Java utility that can be used to help developers eliminate Java verbosity, and to use this object, you must also write some getter and setter methods, and possibly a constructor, equals method, or hash method, which are verbose and non-technical, we call it boilerplate code. The main function of lombok is to eliminate boilerplate code with some annotations.

At the same time, it solves the problem of set() get() and other methods reporting errors in Eclipse projects.

1. Download lombok.jar, lombok.jar official download address:https://projectlombok.org/download

2. Double-click to download the lombak.jar, and the installation steps are as follows:

Close the pop-up prompt and click the Specify location button




3. Select the installation directory of eclipse

Click Install / Update





Click Quit Installer to complete the installation

4. After the installation is completed, please confirm whether there is an additional lombok.jar package under the eclipse installation path, and whether the following content has been added to its configuration file eclipse.ini: -javaagent:D:\build-env\eclipse\lombok.jar



Restart Eclipse.

(End)




Previous:Install the standalone version of elasticsearch 7.10.2 tutorial on Windows
Next:Detailed explanation of Kafka configuration parameters
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com