On Mon, 17 Feb 2025 at 12:30, Fabian Bahle <i...@funfried.de> wrote: > Did something change in the Maven part of NetBeans especially with the > Annotation Processors? I use Lombok (1.18.36 and Maven Plugin 1.18.20.0 which > should be the latest versions) and all of the annotated getters and setters > are not found by NetBeans 25, the same setup works perfectly fine with > NetBeans 24. NetBeans 25 marks every annotated getter and setter as an error > and claims „Symbol not found“, but it compiles successfully in NetBeans 24 > and 25 as well as in my GitLab pipeline. Should be easy to reproduce by > setting up a small project with Lombok and annotate a Java bean with @Getter > and try to use it in another class.
Taking discussion off of the vote thread. This issue is known, expected, and can't / won't fix here. See Lombok issues with NetBeans due to used javac version - https://github.com/apache/netbeans/discussions/8221 and the numerous closed issues in this area. NetBeans uses javac for parsing. In NetBeans 25 this is javac from JDK 24. Lombok does not support this as it uses javac internals via reflection that no longer exist. If you really must use Lombok(?!), then follow upstream issues there for a fixed release, or stay on a version of NetBeans that works with the current version. NetBeans' parsing is unlikely to ever fully support Lombok or any other library that is hacking into compiler internals like that. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists