antkorwin / better-strings

Java String Interpolation Plugin
Apache License 2.0
98 stars 8 forks source link

Error: class com.antkorwin.betterstrings.BetterStringsProcessor (in unnamed module @0x292158f8) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment #23

Open RORAKUS opened 1 year ago

RORAKUS commented 1 year ago

I have a problem. I've added the dependency into my pom.xml and ran the program, and this is the error it gave me:

class com.antkorwin.betterstrings.BetterStringsProcessor (in unnamed module @0x292158f8) 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 @0x292158f8

What should I do?

Krokochik commented 2 months ago

This error is about plugin-java mismatch. JDK you use is too new for the lib