Hi, I'm trying to get the HttpServletRequest from RequestContextHolder using Spring MVC.
But while running
test cases during the build of the application I'm getting following ClassCastException
java.lang.ClassCastException: java.lang.Object cannot be cast to javax.servlet.http.HttpServletRequest
Is there a way to get the HttpServletRequest from the RequestContextHolder in spring.