In the process of SpringBoot development, we design the entity class, the previous approach is to get and set methods to achieve, now greatly simplified the entity class writing, direct life, annotations on the class can be! As shown in the figure below:
This is fine, but Eclipse keeps returning errors during actual calls, as follows:
After a lot of research, it was found that Eclipse did not install the plug-in, and now we need to find the corresponding lombok.jar in our own Maven library. If you do not have a local Maven library, and do not have the corresponding JAR package, you can move to the corresponding official website to download, here is not much to say! As shown in the figure below:
After opening the location as shown in the figure, double-click the corresponding JAR package, as shown in the figure below:
Follow the steps shown in the figure step by step, remember that the second step needs to select the location, we can directly select the installation location of Eclipse! As shown in the figure below:
Select and install! As shown in the figure below, the installation is successful!
At this point, you will find an extra JAR in Eclipse’s file path. At this point, we are almost done! This is as follows:
Open the Eclipse.INI file, and the following configuration is successful! As shown in the figure below:
Congratulations that you have completed all the steps, just close Eclipse and restart! If you still get an error after reboot, you need to do Maven Update or Clear! Go and see if you can solve your problem! If it works out, congratulations! Welcome to have a question to discuss!
This is fine, but Eclipse keeps returning errors during actual calls, as follows:
After a lot of research, it was found that Eclipse did not install the plug-in, and now we need to find the corresponding lombok.jar in our own Maven library. If you do not have a local Maven library, and do not have the corresponding JAR package, you can move to the corresponding official website to download, here is not much to say! As shown in the figure below:
After opening the location as shown in the figure, double-click the corresponding JAR package, as shown in the figure below:
Follow the steps shown in the figure step by step, remember that the second step needs to select the location, we can directly select the installation location of Eclipse! As shown in the figure below:
Select and install! As shown in the figure below, the installation is successful!
At this point, you will find an extra JAR in Eclipse’s file path. At this point, we are almost done! This is as follows:
Open the Eclipse.INI file, and the following configuration is successful! As shown in the figure below:
Congratulations that you have completed all the steps, just close Eclipse and restart! If you still get an error after reboot, you need to do Maven Update or Clear! Go and see if you can solve your problem! If it works out, congratulations! Welcome to have a question to discuss!
Read More:
- @Solution to get / set error in eclipse after using data annotation
- Setter and getter of JS class attribute
- Solution to the error of @ resource annotation in eclipse spring
- How to solve the problem of “version 11 or greater is required” in eclipse 2020
- Error pathvariable annotation was empty on param 0 when migrating idea to eclipse
- Eclipse reset annotation shortcuts
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- IntelliJ idea / eclipse automatically generate author annotation signature
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- Solve the problem of failed to create the Java virtual machine when eclipse is opened
- Eclipse: unable to open editor: no ID org.eclipse.jdt . ui.CompilationUnitEditor Editor descriptor for
- How to generate UML Diagrams from Java code in Eclipse
- To solve the problem, start eclipse and return exit code = 13
- [idea] error occurred when using @ data annotation in Lombok: no related get / set method was found
- How to Solve Int Data overflow error
- How to Fix Sklearn ValueError: This solver needs samples of at least 2 classes in the data, but the data
- To solve the running error of eclipse for C / C + +: launch failed binary not found
- How to make eclipse after the program is modified, click run to automatically save it.
- The solution of eclipse code automatic prompt function
- Solve the slanting problem of vscode one dark Pro topic annotation