Powered by CloudFoundry

Exceptions Demo V2


Spring-Boot sets up error view as the default error-page and we are using Thymeleaf to define it via the error.html template (if you don't configure your own error view you see the so-called "Whitelabel Error Page").

Without Spring Boot you would see your container's default error page. Rename error.html to error2.html and restart to see this for yourself.

The previous version of this demo tried to show everything on one page. It has been broken down into different pages for clarity.

The Demo

Spring Boot URLs

For those interested, Spring Boot provides RESTful URLs for interrogating your application (they return JSON format data):