Cursor and Java annotation processor

Hello,

I’m working on a medium sized Java project that uses some libraries that require an annotation processor: Lombok and Mapstruct.
Lombok seems to work fine, but Mapstruct does not work at all. Additionally, when I open my project with Cursor, even the normal build process via maven stops working throwing MapStruct related errors. Closing Cursor brings the build back to normal.

Note that I don’t have the same problems using Visual Studio Code (both VS and Cursor have the same Java extensions).

Any experience with Java, Mapstruct and Cursor?

Cursor version: 0.41.3

The same problem!
When I use @Slf4j , log.debug(“XXXXXXx”)。
the cursor display error: can not found log variable 。
I import the config file form vscode, the project not have problem 。

Experience of develop java project in vscode(the base of cursor) is really terrible now.
Waiting for cursor push a intellij-ide based ide or a plugin for intellij-ide.