[comixed-dev] Error compiling comixed on Mac w/ OpenJDK 16

  • From: "Jonathan Fine" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "jfine" for DMARC)
  • To: comixed-dev@xxxxxxxxxxxxx
  • Date: Sun, 6 Jun 2021 22:57:43 -0400

Hello, I tried compiling the develop branch of ComiXed on a Mac w/ OpenJDK
16 and I'm getting this error from Lombok:

"Fatal error compiling: java.lang.IllegalAccessError: class
lombok.javac.apt.LombokProcessor (in unnamed module @0x3a6409ec) 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 @0x3a6409ec"

Do I need to use Oracle's JDK for this?  Below is a screenshot of my mvn
compile followed by my java --version:

[image: Screen Shot 2021-06-06 at 22.45.10 PM.png]

PNG image

Other related posts: