[idea] error occurred when using @ data annotation in Lombok: no related get / set method was found

Modify compile-time rules
1. Open the project Settings

2. Check the Enable Annotation Processing
box
2. Step one cannot solve can try to reload the lombok plugin
I met question is normal to write code, you can use @ Data annotations provide the get/set methods, but unable to compile program, an error is as follows:

ultimately comes down to the choice of the compiler, switch from eclipse for javac, problem solving.


Read More: