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
2
u/demchaav Apr 28 '26
Valid point about testing in isolation. Though to be fair, the OP said they're just a few hours into Spring Boot, so it's a solid learning experience regardless. Writing JPA repository tests with u/DataJpaTest is a great next step to master!