解决idea-lombok报错:java: You aren’t using a compiler supported by lombok, so lombok will not work and has been disabled.

报错详情

java: You aren’t using a compiler supported by lombok, so lombok will not work and has been disabled.
Your processor is: com.sun.proxy.$Proxy27
Lombok supports: OpenJDK javac, ECJ

解决方案一

打开idea设置Settings===>>>Build, Execution, Deployment===>>>Compiler===>>>Shared build process VM options,右侧输入框添加如下参数:-Djps.track.ap.dependencies=false

解决方案二

lombok版本过低,升级到1.18.24即可

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容