阅读量:1
报错问题:`
java: java.lang.IllegalAccessError: class
lombok.javac.apt.LombokProcessor (in unnamed module @0x12391375)
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 @0x12391375
简述为:lombok版本和jdk版本不匹配
java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor
解决办法-换掉JDK版本 换成1.8
Ctrl + Alt + Shift + S快捷键打开Project Structure