java: You aren't using a compiler supported by lombok

1,294 阅读1分钟

IDEA Community 2020.3 EPA

编译出现以下问题

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.$Proxy25
  Lombok supports: OpenJDK javac, ECJ

当前解决方案

github.com/mplushnikov…

进入 设置(Prefrences) - (Build,Execution,Deployment) - Compiler

找到 User-Local build process VM options (override Shared options):

-Djps.track.ap.dependencies=false