2019-07-04 17:08:36 [ERROR] Cannot forward to error page for request [/xxxx/xxxx] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
springboot配置文件加上以下代码:
spring.mvc.view.prefix=/WEB-INF/views/
spring.mvc.view.suffix=.jsp