Lombok with Eclipse

135 views
Skip to first unread message

maxxon99

unread,
Oct 9, 2024, 11:50:49 AM10/9/24
to Project Lombok
Hi,

 I'm trying to get Lombok to work with Eclipse 2024-6.

 - I installed the plugin (multiple times)
- I restarted Eclipse (multiple times)
- I checked the vmarg -javaagent

...but it still doesn't work. The code won't compile because all the getters are "missing".

This is a project another developer setup and it works for him -- but he uses IDEA.


Chris Becker

unread,
Oct 9, 2024, 12:46:35 PM10/9/24
to project...@googlegroups.com

I  had to include a reference to the lombok.jar in every project, then it worked all fine.

Downside is, that the lombok.jar is then included in the compiled jar.


--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-lombok/c4dac836-ad91-44e5-9080-3bd71e7ac2b4n%40googlegroups.com.

Daniel López

unread,
Oct 9, 2024, 1:42:40 PM10/9/24
to project...@googlegroups.com
Not if you scope it as provided.
Salute!
D.

maxxon99

unread,
Oct 18, 2024, 8:41:35 PM10/18/24
to Project Lombok
You mean like this:

<dependency>

<groupId>org.projectlombok</groupId>

<artifactId>lombok</artifactId>

</dependency>


....didn't work.


It think it IS included since e.g the @Getter annotation doesn't show any error. It just doesn't actually generate any getters for the compiler...
Reply all
Reply to author
Forward
0 new messages