Lombok @Data annotation problem
I have this DTO:
and I'm using it in a controller like this:
but I'm getting an error:
11 Replies
⌛
This post has been reserved for your question.
Hey @IamMax420! 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.
can you show the pom file
with lombok config
did you add any annotation processor tag for lombok
what's that
I have annotation processing enabled
that's all I know
man I can't fucking do it with spring initializr anymore
last time I was doing java I had some other issue with the pom file
didnt you have like the same problem 3 months ago
https://discord.com/channels/648956210850299986/1332808292044374087/1332817854583668770
Yeah I did "reload all maven projects" but it didn't work, surprisingly
did you add the annotation processor tag
just copy the solution from that last thread and it should work
make sure to use mvn clean install too
the code inside this method should be in a separate service
not in a controller
alright, I''ll take care of that
you mean this?
ye
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.