Caused by: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x4e670245) 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 @0x4e670245 at lombok.javac.apt.LombokProcessor.getJavacProcessingEnvironment (LombokProcessor.java:433) at lombok.javac.apt.LombokProcessor.init (LombokProcessor.java:92) at lombok.core.AnnotationProcessor$JavacDescriptor.want (AnnotationProcessor.java:160) at lombok.core.AnnotationProcessor.init (AnnotationProcessor.java:213) at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init (AnnotationProcessor.java:64) at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init> (JavacProcessingEnvironment.java:702) at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next (JavacProcessingEnvironment.java:829)