我已经尝试过Spring Boot Remove Whitelabel Error Page中建议的解决方案,但是却遇到了相同的错误。我也给了 server.error.whitelabel.enabled = false
当我在localhost中运行应用程序时,出现错误消息
This application has no explicit mapping for /error, so you are seeing this as a fallback.
IST 2018年12月26日星期三12:22:51 发生意外错误(类型=内部服务器错误,状态= 500)。 ServletException,包括路径“ /pages/shop/templates/generic/catalogLayout.jsp”。