Powered by CloudFoundry

Default Spring Boot Error Page

Occurred: Wed Dec 13 06:57:25 UTC 2017

Response Status: 400 (Bad Request)

Cause: demo5.web.ReturnOrRedirectController$DemoException
Note: You would never generate a page that displays a Java exception to an end-user in a real application

You are seeing this error page due to Spring Boot (which returns a view called "error" in response to uncaught exceptions. Since we are using Thymeleaf this corresponds to the template error.html )