在使用IntelliJ IDEA Community 2021.1版本时遇到Lombok不支持的问题,提示‘You aren’t using a compiler supported by lombok...’。解决方法是在File -> Settings -> Build, Execution, Deployment -> Compiler -> Shared build process VM options中添加参数-Djps.track.ap.dependencies=false,重启IDEA即可使Lombok正常工作。
IDEA版本 Community 2021.1 调试时提示:“You aren’t using a compiler supported by lombok, so lombok will not work and has been disabled.” 解决方法: File -> Settings -> Build,Execution,Deployment -> Compiler -> Shared build process VM options 填入:-Djps.track.ap.dependencies=false