-
Feature Request
-
Resolution: Done
-
Undefined
-
WINDUP-6.1.0
-
None
If you use a version of Lombok lower than 1.18.22, you will get the following exception:
```
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project bss-serviceengine-commonutil: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x1b0cfe11) 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 @0x1b0cfe11 -> [Help 1]
```
The reason is that from Lombok 1.18.22, Lombok can be compatible with JDK 17.
https://github.com/iluwatar/java-design-patterns/issues/2034
So there should be a rule that windup will indicate that the target JDK is 17, then the Lombok version should be 1.18.22 or higher.