现象
Lombok安装完成之后,启动项目时出现 Lombok Requires Annotation Processing 的错误提示:
16:08 Lombok Requires Annotation Processing
Annotation processing seems to be disabled for the project "leyou".
For the plugin to function correctly, please enable it under
"Settings > Build > Compiler > Annotation Processors"
解决方案:
依次点 File → Settings → Build, Execution, Deploymen → Annotation Processors 打开编辑页面,勾上 Enable annotation processing 前面的选框,保存重启IDEA
即可解决