Recently, with idea new import of a Java Web project, the same code in Eclipse will not report error, but in idea there is a problem, the code does not compile through, red mark, start the error, finally find the reason in git: Lombok in idea is the need to install plug-ins……..
Part of the error code display:


After a long search on the Internet, I realized that the solution was to install Lombok plugin.
Without further ado, the specific plug-in installation steps are as follows:
1. Enter the IDEA Settings interface and find the Plugins option
2. Type Lombok into the search box
3. Click the Browse Repositories button

4. Select Lombok Plugin

5. Click the Install button on the right

6. After downloading and installing the Lombok Plugin, be sure to check the box behind it

7. Restart Idea, OK!
Part of the error code display:


After a long search on the Internet, I realized that the solution was to install Lombok plugin.
Without further ado, the specific plug-in installation steps are as follows:
1. Enter the IDEA Settings interface and find the Plugins option
2. Type Lombok into the search box
3. Click the Browse Repositories button

4. Select Lombok Plugin

5. Click the Install button on the right

6. After downloading and installing the Lombok Plugin, be sure to check the box behind it

7. Restart Idea, OK!
Read More:
- @Solution to get / set error in eclipse after using data annotation
- [idea] error occurred when using @ data annotation in Lombok: no related get / set method was found
- Pit encountered by entity class data type BigDecimal
- Django + jQuery get data in the form + Ajax send data
- No data: data: get host by name failed in TCP_ Connect() error resolution
- The problem that headers [‘content-type ‘] does not work is set in the Axios get method request interface
- Three ways to get form data in struct2
- Solve the problem that data cannot be input in idea console
- IDEA: How to Add @Data plug-in
- The function of structured shuffleplit() in SK learn realizes the division of data set
- Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK
- Error attempting to get column ‘STAFF_NAME’ from result set
- Error attempting to get column from result set
- IntelliJ idea class is normal, but error is marked in red and cannot be found
- Error attempting to get column ‘failure_msg‘ from result set
- java.lang.IllegalStateException : unable to read meta data for class
- Error attempting to get column ‘xxxxx’ from result set — after Lombok is annotated with builder, mybatis cannot recognize the correct type of field
- Error attempting to get column time from result set. Cause: java.sql.SQLFe
- About idea reporting error “cannot access class”
- This (code, message, data: null) still exists after importing spring cloud project into Lombok; the data in the project is unrecognized