對于RequestScope作用域?qū)ο蟮慕壎?/h1>
我想將RequestParams使用provider綁定,畢竟每一次請求都會獲取一次,但是用了provider綁定之后spring啟動報錯:
?Either we are not currently inside an HTTP Servlet request, or you may have forgotten to apply com.google.inject.servlet.GuiceFilter as a servlet filter for this request.
跪求原因
我想將RequestParams使用provider綁定,畢竟每一次請求都會獲取一次,但是用了provider綁定之后spring啟動報錯:
?Either we are not currently inside an HTTP Servlet request, or you may have forgotten to apply com.google.inject.servlet.GuiceFilter as a servlet filter for this request.
跪求原因