This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello, I've been using Lombok with Netbeans for a long time. Lombok @AllArgsConstructor was working in NB 8.1 DEV Now in RC 1 it is broken The IDE seems to pick up the AllArgsConstructor, but in Maven it's broken. I think the agent is not activated. Can you please please have a look at this : https://github.com/rjdkolb/lombok thanks --- maven-compiler-plugin:2.3.2:compile (default-compile) @ lombok --- Compiling 2 source files to /home/richard/src/lombok/target/classes ------------------------------------------------------------- COMPILATION ERROR : ------------------------------------------------------------- io/r3k/lombok/App.java:[5,19] error: constructor MyBean in class MyBean cannot be applied to given types; actual and formal argument lists differ in length io/r3k/lombok/App.java:[6,9] error: cannot find symbol variable b of type MyBean io/r3k/lombok/App.java:[7,9] error: cannot find symbol 3 errors
no idea how lombok works, but this fails also when compiling from the command line via $ mvn clean install if this worked for you in any way with some previous version/build of netbeans, please provide more info about the build and if necessary also any additional steps thanks
Apologies Tomas. I see the 1.16.x is broken in 8.0.2 as well. changing to 1.14.8 works correctly. <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.14.8</version> </dependency> FYI Lombok works well in Netbeans and have been using it in prod for years (besides this issue) https://projectlombok.org/features/Data.html https://projectlombok.org/features/Log.html Making invalid because I think this is a Lombok issue. thanks
FYI: Switching to Maven 3.3.3 in Netbeans 8.1 RC1 works perfectly.