Closed badnexus closed 1 year ago
java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext (in unnamed module @0x3cdc9973) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x3cdc9973
at org.jetbrains.kotlin.kapt3.base.KaptContext.
Ah somehow this is related to the jdk 20 version, when downgrading to the jdk 17 it build like a charm :)
I didn't read further into the topic. But somehow about internal java api interfaces was written on stackoverflow and a comon workaround would be to add:
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
to the javac compile options
Thank you for the quick update, let me know if you run into any issues~
Hi guy's, since I need a lightweight flashcard reader too, I'd like to contribute to this project, but I'm having build issues with the build.gradle file. I'll post the details later.