title: jdk.compiler does not export com.sun.tools.javac.processing to unnamed module
body: <p>I get the following error after executing command <em>mvn clean package</em>:</p>
  <pre><code>Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x298bfadd) 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 @0x298bfadd
  </code></pre>
  <p>I am using JDK 17.0.1 and for what I read it was a common error in idk 16. Any ideas how to fix it?
  I am working on Mac and my mvn version is 3.8.4</p>
  <pre><code>% echo $JAVA_HOME
  /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
  </code></pre>