r/SpringBoot • u/StreetAppearance753 • Jan 29 '26
Question Struggling with Spring Log errors
Everytime I run some spring application I just accept all the libraries, servers and all the stuffs that spring contains and shows in the background. When I’m trying to fix some error I just notice that I don’t understand all that messages that come with the log, I can understand the log error, but I‘m supposed to understand all that messages?
5
Upvotes
View all comments
Show parent comment
1
u/StreetAppearance753 Jan 29 '26
I mean the stack trace after a random error in the code, like this nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.Optional com.assignment.supermarket.user.UserRepository.findUserByID(java.lang.Long)!" Cause after he calls a few number of Spring methods and classes: "at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.23.jar:5.3.23]