I m 当控制员收到申请时,其将控制带<条码>的条码>,附后<条码>@Async,以服务标本,然后返回。 当我在<条码>中查阅条码>。 HttpSession Object I接受这一例外。
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/DispatcherPortlet: In
this case, use RequestContextListener or
RequestContextFilter to expose the current request.
我如何解决这一问题?