Small question on Spring Cloud Config Server please.
When starting the app, the app starts fine and can serve traffic.
Clients can even get configuration from it, very happy.
However, I'm seeing this issue, and this error is puzzling me:
error: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
I do not understand what is the issue, what is the root cause, and how to solve it please?
Currently, the app "looks ok", but I would like to be sure what is this error message about.
Thank you
question from:
https://stackoverflow.com/questions/65884300/spring-cloud-config-server-error-java-lang-illegalstateexception-no-thread-b 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…