I have already tried that without luck.

Rik Scarborough schrieb am 20.09.2019 um 15:06:
> I have this happen every once in a while.  I find that deleting the
> Cache directory (~/AppData/Local/NetBeans/Cache/11.1 on Windows) and
> letting it rebuild fixes it for a while.
>
> ~Rik
> Believe in good
>
> On Fri, Sep 20, 2019, 6:12 AM Thomas Kellerer <sham...@gmx.net 
> <mailto:sham...@gmx.net>> wrote:
>
>     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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to