官方文档位置:https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-error-handling-custom-error-pages

放置错误模板
在 template 目录下新建一个 error 文件夹,放置模板

4xx.html5xx.html404.html
修改模板
取默认的 message 和 trace 两个参数,就可以简单的在模板上显示相关错误信息了
