We are using the same Lombok version: 1.18.4
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.4</version>
<optional>true</optional>
</dependency>
Maven Compiler version is: 3.5.1
The whole project is set to use Java 1.8
John Mc schrieb am 20.09.2019 um 12:58:
> Thomas,
>
> What version of Lombok are you using? I have it working fine with Maven and
> NetBeans 11.1 but I might be using a slightly older version of Lombok(1.18.4).
>
> Regards
>
> John
>
> A 20-09-2019 11:25, Thomas Kellerer escrigué:
>
>> Hello,
>>
>> I need to open and use a Maven project in NetBeans 11 that heavily uses
>> Lombok.
>> All other team members are using InteliJ, where the current setup works
>> without problems.
>>
>> But when I open that Maven project in NetBeans 11.1 half of the source
>> code is marked with red error flags, because the generated getters and
>> setters are not recognized by the NetBeans editor.
>>
>> Clean & Build obviously works because Lombok is included in the POM, but
>> the NetBeans editor doesn't know that.
>>
>> I found various hints in the internet regarding the use of Lombok with a
>> NetBeans Ant project ("Enable Annotation processing in Editor")
>> But those obviously don't apply to a Maven project
>>
>> Is there anything I can do, so that I can properly work with that
>> project in NetBeans?
>>
>> Regards
>> Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists