I have tried the solution suggested in Spring Boot Remove Whitelabel Error Page but I am getting the same error. And also I have gave, server.error.whitelabel.enabled=false
When I run the application in localhost, I am getting the error as
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Dec 26 12:22:51 IST 2018 There was an unexpected error (type=Internal Server Error, status=500). ServletException including path '/pages/shop/templates/generic/catalogLayout.jsp'.