报错:
2021-09-18 14:35:27.167 ERROR 6376 --- [io-11004-exec-1] s.e.ErrorMvcAutoConfiguration$StaticView : Cannot render error page for request [xxxx] and exception [] as the response has already been committed. As a result, the response may have the wrong status code.
把@RestController 改为@Controller