Lombok Requires Annotation Processing
Annotation processing seems to be disabled for the project “JavaApiAutoTest”. But lombok is on classpath.
For the lombok plugin to function correctly, please enable it under
“Settings > Build > Compiler > Annotation Processors”
点击【链接】
按照下图设置
最后,重启IDEA