maven java: cannot find symbol symbol: variable log

1. First check the plug-in configuration. Enter lombok
to install the plug-in in the input box , then click ok, restart IDEA, and there is a high probability that no error will be reported. If the error is still reported, go to the second step.

2. If the first step still reports an error, click Build, Execution, Deployment>Compiler>Annotation Processors
to tick the position of the red box in the figure below, and then click Save to exit (after exiting, you can go in again to see if the tick is ticked), and then Just run the project.
 

 3. Add parameter configuration in Compiler:-Djps.track.ap.dependencies=false

 

 

Guess you like

Origin blog.csdn.net/bobocqu/article/details/127549375