lombok.javac.apt.LombokProcessor could not be initialized解决办法

1月 31, 2023 |

最近将IDEA 升级到IntelliJ IDEA 2022.3.1后原来可以运行的工程启动报:

java: lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run during this compilation: java.lang.IllegalArgumentException: com.sun.tools.javac.main.DelegatingJavaFileManager$DelegatingSJFM extends com.sun.tools.javac.main.DelegatingJavaFileManager implements javax.tools.StandardJavaFileManager

将lombok版本从1.16.20升级为1.18.24解决问题

Posted in: IT人生, java基础

Comments are closed.