How to resolve "cannot find symbol" compiler errors on NbBundle constants after upgrading to JDK 23+ #8402
mbien
started this conversation in
Tips, Tricks and Workarounds
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Message Bundle fields defined using
org.openide.util.NbBundle.Messages
annotations rely on the annotation processor to generate boilerplate code.JDK 23 and later will no longer automatically run annotation processors found in the classpath (see https://inside.java/2024/06/18/quality-heads-up/).
Resolution
add
-proc:full
to your compiler options, e.g for maven:or:
Beta Was this translation helpful? Give feedback.
All reactions