相关推荐recommended
java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled
作者:mmseoamin日期:2023-12-18

目录

错误描述

错误解决

方法一:版本提升

方法二: 添加参数

检查配置


错误描述

idea因为lombok的报错:

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.$Proxy8

Lombok supports: sun/apple javac 1.6, ECJ

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled,第1张

 原因:这是由于Lombok的版本过低的原因,将Lombok版本提升至1.18.24后问题就可以解决。


错误解决

方法一:版本提升

将Lombok版本提升至1.18.24后问题就可以解决。


   org.projectlombok
   lombok
   true
   1.18.24

检查是否已经下载成功:

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled,第2张


方法二: 添加参数

在Compiler中增加如下参数配置即可

-Djps.track.ap.dependencies=false 

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled,第3张

 如此,问题就得以解决了。


如果你的问题还没有解决,就跟着如下步骤检查一下,或许可以帮你解决问题

检查配置

查看Lombok插件是否安装、是否开启

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled,第4张

 查看Annotation Processors中的Enable annotation processing是否勾选

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled,第5张


哇喔,又是解决bug的一天。今日bug下线啦!