Java 构建已开始失败 - 编译时出现致命错误:java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor
2022-09-02 02:36:25
我们在 EC2 上有一个 Java 11 服务器,它刚刚开始无法构建,并出现以下错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project showhow-server: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x49d0e934) cannot access class
com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler
does not export com.sun.tools.javac.processing to unnamed module @0x49d0e934 -> [Help 1]
[ERROR]
该构建来自BitBucket管道。
你知道它可能是什么吗?