Skip to content
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

problem record: kotlin + lombok compile problem (under maven build) #4

Open
oldratlee opened this issue Sep 9, 2018 · 4 comments
Open

Comments

@oldratlee
Copy link
Owner

oldratlee commented Sep 9, 2018

Problem

Kotlin doesn't see Lombok accessors in Java Files (eg: @Data).

Problem infos

Problem status and solution

status:

has not been resolved!

Quick and dirty solution

Convert lombok-fied java file to kotlin language.
aka. use kotlin instead of lombok. 😂

But this solution force the migration to kotlin, not nice! 😫

Related resources

@victory460
Copy link

”Kotlin doesn't see Java Lombok accessors“,您好,请教下,像这种问题,现在有解决方案了吗?(不转java为kotlin的情况)

@oldratlee
Copy link
Owner Author

”Kotlin doesn't see Java Lombok accessors“,您好,请教下,像这种问题,现在有解决方案了吗?(不转java为kotlin的情况)

『不转java为kotlin』的解决方案 还没有找到 😞

@fanthos
Copy link

fanthos commented Sep 10, 2020

delombok能用,编译正常,但是热更新不好用。

参考

@oldratlee
Copy link
Owner Author

oldratlee commented Jan 17, 2022

Official Kotlin support for Lombok: @victory460 @fanthos

https://kotlinlang.org/docs/lombok.html

The Lombok compiler plugin is Experimental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants