maven仓库中添加了lombook,编译仍然报错
java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x7fc59650) 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 @0x7fc59650
解决办法:jdk对应的版本过高,修改当前项目jdk版本
没有的话就可以自动在idea中进行下载就ok
**
**