Original: 79280591/
Because there are @slf4j annotations in the project, Eclipse needs to install the Lombok plugin to compile properly. As a result of Lombok a blank, check a number of posts, a detailed summary of the window under the Eclipse installation Lombok.
- Download Lombok.jar
(https://projectlombok.org/download.html)
- Place the Lombok.jar in the Eclipse installation directory, and the Eclipse.ini file.
Run Lombok.jar
In the Lombok.jar directory, run:
java -jar lombok.jar
A. After running the box will be the following box, the direct point to determine
B. Click the Specify Location button, select the installation directory for Eclipse, and select to the eclipse layer.
Click Install as steps
C. After success such as:
The black box also has a lot more log:
If you want to see if the installation is successful, you can see it in Eclipse.ini, my environment is one more row (-javaagent:d:\program Files\eclipse\lombok.jar)
- Restart Eclipse, and then clean project.
Eclipse installation Lombok