Cursor no longer recognizes code generated by Lombok

Recently, Cursor has stopped recognizing code automatically generated by Lombok, such as @Data and @Slf4j.
I remember it used to work before, but somehow it’s not being recognized anymore.




Version: 0.49.4
VSCode Version: 1.96.2
Commit: ec408037b24566b11e6132c58bbe6ad27046eb90
Date: 2025-04-22T00:13:20.211Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.5.0

1 Like

Has anyone else experienced this issue or knows how to fix it?

This appears to be an issue specific to the 0.49 version, as the 0.48.8 release operates without anomalies.

2 Likes

Facing same issue after upgrading to 0.49. Tried refreshing annotation processor, adding the jar manually but nothing seems to work

I even tried downgrading the version, but it didn’t help. I also tested the same setup in VSCode with identical settings, and it works there—so I’m not sure why it’s failing in Cursor. It’s causing unnecessary linter errors in the IDE while the AI is responding, which is really frustrating.

I have the same issue

I was able to fix this issue by clearing the .vscode & .cursor folders in home directory. I had to reinstall the extensions