lombok
how to use lombok in intellij community eddition 2025
i am using web and lombok dependencies but lombok one producing error everytime if i comment out lombok dependency it works smoothly
attached pom.xml also
29 Replies
⌛
This post has been reserved for your question.
Hey @mukul! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
add a <properties> block in the pom.xml
there, add a <lombok.version> tag
and put 1.18.38 in it
can you edit and resend pls
after the
<java.version>24</java.version>
, add the following:
I'm on my mobile so I won't edit the whole fileohk added
then reload the Maven project and try again
thanks alot sirr
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
it worked
yeah lombok often breaks when new Java versions come out
and JDK 24 just came out in March
ohh i didnt knew
just started learning springboot
ya
in lectures they were using 22
and it seems like Spring Boot didn't yet update the lombok version it configured
ya
can you add me friend ?
Spring Boot sets a lombok version for you but you can tell it to use a specific lombok version like that
Why?
oh
in future if i need help
newer Spring Boot version --> newer Lombok version
here posts are limited i guess
you can always ask here - I don't really like helping in DMs for a few reasons
ohkk ill keep in mind
they aren't
btw where did u get lombok version
oh ok ill text here
https://projectlombok.org/download
went to the lombok website and clicked on download
oh
ok sir thanks again i should close this post now ?
Before your post will be closed, would you like to express your gratitude to any of the people who helped you? When you're done, click I'm done here. Close this post!.
if you don't have any more questions about it,probably
no im done thanks
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
🙂
Post Closed
This post has been closed by <@784324639781814292>.