解决Request processing failed; nested exception is java.lang.IllegalStateException: No primary or default constructor found for interface org.springframework.http.HttpRequest 页面跳转时,想得到通过session存入的对象,出现如下图所示错误: 一查看自己的代码,发现原来是把HttpServletRequest敲成HttpRequest,大意了,敲了一整天,眼睛不好使了,如下图所示是已改为正确的代码。