#1525: Document known issue and workaround for lombok plugin in Eclipse - #2300
Open
Paras14 wants to merge 2 commits into
Open
#1525: Document known issue and workaround for lombok plugin in Eclipse#2300Paras14 wants to merge 2 commits into
Paras14 wants to merge 2 commits into
Conversation
…/1525-document-lombok-eclipse-issue
JoelAdbu
reviewed
Aug 11, 2026
JoelAdbu
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me. The description is clear and explains the current Lombok issue well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #1525
Implemented changes:
Problem,WorkaroundandStatussection to the eclipse chapter oflombok.adocdescribing that the lombok plugin for eclipse installs successfully but never activates.
-javaagent, which aneclipse plugin installed into a running eclipse cannot do) and linked the upstream issue
[BUG] Eclipse plugin not working but manually adding javaagent to eclipse.ini works projectlombok/lombok#3621.
eclipse.iniincluding the side effects(shared across all IDEasy projects using the same eclipse version, lost on eclipse update).
Statussection why we deliberately do not automate this in IDEasy,so the discussion does not have to be repeated in the future.
CHANGELOG.adoc.This is a documentation-only change, no code was touched.
Testing instructions
Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:
Review the rendered documentation of
documentation/lombok.adoc(sectionLombok in Eclipse).To verify the documented workaround, create a small maven project in
$IDE_HOME/workspaces/mainwith thispom.xml:Add a class
com.example.LombokTestannotated with@Slf4jthat callslog.info("test")inmain. E.g.:Note: lombok
1.18.40or newer is required because IDEasy ships JDK 25, and annotationprocessing has to be enabled explicitly via
<proc>full</proc>since javac no longer runsannotation processors by default as of JDK 23.
Run
ide mvn clean compile, the build should succeed.Import the project into eclipse via
ide eclipse- eclipse reportslog cannot be resolvedeven though the lombok plugin is listed under
About Eclipse IDE>Installation Details.This is the reported problem.
Follow the documented workaround and add
-javaagent:«absolute-path-to-lombok.jar»as last line of$IDE_HOME/software/eclipse/eclipse.ini.Restart eclipse via
ide eclipse, then runMaven>Update Project...on the project(Right click on the project directory> Maven>Update Project>check the directory>OK. The compile error should be gone.