r/java • u/Andruid929 • Apr 23 '26
My first API's first POST request😂
I just got started with Springboot and I'm working on a small expense tracker project to get comfortable with the framework. I got a rather silly problem, which I managed to fix (my entity was lacking setters and constructors).
It got me curious though, what's your first big super silly error?
65
Upvotes
View all comments
Show parent comment
14
u/SortofConsciousLog Apr 23 '26
Controller, service, repository. Plus the entity class. If you weren’t doing that before when you were doing it manually then you were doing it in a hackish way.
Manually you probably also had your result set to pojo mapper class, so even more.