首页 > 技术文章 > IDEA报错:Lombok Requires Annotation Processing

fanblogs 2020-04-22 10:16 原文

现象

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"

 

解决方案

依次点击setting --> Build,Execution,Deployment --> Annotation Processors打开编辑页面,勾上 Enable annotation processing前面的勾,保存后需要重启IDEA

 

推荐阅读