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
JavaBot
JavaBot6d ago
This post has been reserved for your question.
Hey @mukul! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st6d ago
add a <properties> block in the pom.xml there, add a <lombok.version> tag and put 1.18.38 in it
mukul
mukulOP6d ago
can you edit and resend pls
dan1st
dan1st6d ago
after the <java.version>24</java.version>, add the following:
<lombok.version>1.18.38</lombok.version>
<lombok.version>1.18.38</lombok.version>
I'm on my mobile so I won't edit the whole file
mukul
mukulOP6d ago
ohk added
dan1st
dan1st6d ago
then reload the Maven project and try again
mukul
mukulOP6d ago
thanks alot sirr
JavaBot
JavaBot6d ago
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.
mukul
mukulOP6d ago
it worked
dan1st
dan1st6d ago
yeah lombok often breaks when new Java versions come out and JDK 24 just came out in March
mukul
mukulOP6d ago
ohh i didnt knew just started learning springboot ya in lectures they were using 22
dan1st
dan1st6d ago
and it seems like Spring Boot didn't yet update the lombok version it configured
mukul
mukulOP6d ago
ya can you add me friend ?
dan1st
dan1st6d ago
Spring Boot sets a lombok version for you but you can tell it to use a specific lombok version like that Why?
mukul
mukulOP6d ago
oh in future if i need help
dan1st
dan1st6d ago
newer Spring Boot version --> newer Lombok version
mukul
mukulOP6d ago
here posts are limited i guess
dan1st
dan1st6d ago
you can always ask here - I don't really like helping in DMs for a few reasons
mukul
mukulOP6d ago
ohkk ill keep in mind
dan1st
dan1st6d ago
they aren't
mukul
mukulOP6d ago
btw where did u get lombok version oh ok ill text here
dan1st
dan1st6d ago
https://projectlombok.org/download went to the lombok website and clicked on download
mukul
mukulOP6d ago
oh ok sir thanks again i should close this post now ?
JavaBot
JavaBot6d ago
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!.
dan1st
dan1st6d ago
if you don't have any more questions about it,probably
mukul
mukulOP6d ago
no im done thanks
JavaBot
JavaBot6d ago
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.
mukul
mukulOP6d ago
🙂
JavaBot
JavaBot6d ago
Post Closed
This post has been closed by <@784324639781814292>.

Did you find this page helpful?