How can Lombok solve the problem of cannot access class com. sun. tools. java. tree (in unnamed module @ 0x117dc308e)

130 views
Skip to first unread message

Fan

unread,
Aug 9, 2024, 8:34:26 AM8/9/24
to Project Lombok
I tried to implement the getset method of Lombok in Java21, but my annotation processor got an error. I tried to open some packages using the method in LombokProcessor.java, but it didn't seem to work. How can I solve this problem? 
(Cause: superclass access check failed: class org. x9. AddGets etProcessor $1 (in unnamed module @ 0x117dc308e) cannot access class com. sun. tools. java. tree.) TreeTranslator (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x17dc308e)
I hope someone can help me, thank you

Michael Berry

unread,
Aug 9, 2024, 8:36:01 AM8/9/24
to project...@googlegroups.com

What version of Lombok are you using - is it the latest?


--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-lombok/c0d7b9c3-eb30-4157-a9d9-e10f44c4bb53n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages