更换JDK
java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x3302035b) 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 @0x3302035b
问题原因
lombok版本和jdk版本不匹配
Ctrl + Alt + Shift + S快捷键打开Project Structure