eclipselombok

Eclipse 2025-06 breaks Lombok @Builder


When I updated Eclipse to the most recent version 2025-06 from previous version 2025-03 I found my project broken. All classes (Java records) with Lombok's @Builder annotation get broken complaining on lack of default constructor.

I reinstalled Lombok, recreated the workspace from scratch, restart Eclipse but nothing helped.

Does anybody else experience similar issue and any ideas how to fix that? Thanks


Solution

  • The issue is known and referenced in this issue https://github.com/projectlombok/lombok/issues/3883

    There's a Pull Request waiting for merge that solves the issue https://github.com/projectlombok/lombok/pull/3888

    The problem is that it solves the problem for the newer versions of eclipse and vscode-java but the older versions must also be supported as stated in this comment https://github.com/projectlombok/lombok/issues/3883#issuecomment-2910356061

    You can download the artifact built by the 3888 PR here https://github.com/projectlombok/lombok/actions/runs/15284242422?pr=3888 (you must be logged in github to see the download link https://github.com/projectlombok/lombok/actions/runs/15284242422/artifacts/3207150165 )