New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] STS4 4.22.0 + Lombok 1.18.30 + JDK21 refuses to compile "onX" syntax in IDE. #3632
Comments
Please try the latest edge release. |
Everywhere where I'm using lombok annotations in my code I see now error-markers and eclipse log shows this for example:
eclipse.buildId=4.22.0.202403071427 |
I installed the eclipse-plugin 1.18.32 and using lombok 1.8.32 in my codebase and now the errors are gone. |
Actually, 1.18.32 has just been released (it's almost funny it happened day after I wrote my issue) and my initial conclusion is that the problem is fixed and everything is working (with my setup described above). |
When trying to utilize "onX" feature according to Java>8 syntax, such as (any of the two):
...clean install of STS with Lombok refuses to work (IDE-side) even when everything points to proper installation (.ini and "About STS" window) and gives out this error:
...and in IDE view:
Project is set up as a fresh Spring Starter with Gradle 8.6 and Lombok (doesn't really matter tho, as Gradle builds successfully, but STS doesn't with IDE errors):
To Reproduce
Just install it with versions given.
I've tested this on 2 PCs - Win10 and Win11.
Expected behavior
Well, it should work with clean-installs, shouldn't it? It is the most basic usage.
Version info
EDITS
Note 1: This issue is applicable only to "onX" feature. Other @annotations work (in IDE).
Note 2: Using https://projectlombok.org/setup/eclipse#via-eclipse-plugin-installer produces same results.
The text was updated successfully, but these errors were encountered: