You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Ulrich Mayring <ul...@isys.de> on 2024/02/23 17:55:40 UTC

Re: AnnotationProcessor Crash on NB21 (Lombok) (was: NB20)

Does no one know anything about this? I now downloaded NB 21 and the 
same thing happens there. So for the time being I am stuck on NB 18.

Kind regards,
Ulrich

Am 09.02.24 um 16:11 schrieb Ulrich Mayring:
> Hi all,
> 
> is this a known problem that the annotation processor crashes on NB20 
> and thus does not come to processing the Lombok annotations (such as 
> getter/setter creation)?
> 
> My project compiles fine, but all lines referring to generated Lombok 
> code are red in the editor.
> 
> I've found some references to a similar problem online and they seemed 
> to work around it by doing some maven-related stuff, but in my case it's 
> a Gradle project. I have
> 
> compileOnly 'org.projectlombok:lombok'
> annotationProcessor 'org.projectlombok:lombok'
> 
> in my build.gradle. In another project that also has the same problem I 
> have instead
> 
> plugins {
>      id 'io.freefair.lombok'
> }
> 
> in the build.gradle. Both methods should pull the newest Lombok version, 
> I think.
> 
> Kind regards,
> 
> Ulrich
> 

-- 
iSYS Software GmbH

Ulrich Mayring | Full Stack Developer
Technology Lab / R&D

Tel: +49 (0) 89 46 23 28-0 | Fax  +49 (0) 89 46 23 28-14
email: ulrich.mayring@isys.de

Grillparzerstraße 10 | D-81675 München
www.isys.de

Sitz der Gesellschaft: München | HRB 111760
Geschäftsführer: Stefan Fischer und Max Haller

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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