Application error pages
Spring Boot offers this “whitelabel” error page by default as part of auto-configuration.
The default error handler that’s auto-configured by Spring Boot looks for a view whose name is “error”. If it can’t find one, it uses its default whitelabel error view.
By default, Spring Boot makes the following error
attributes available to the error view:
timestamp—The time that the error occurred
status—The HTTP status code
error—The error reason
exception—The class name of the exception
message—The exception message (if the error was caused by an exception)
errors—Any errors from a BindingResult exception (if the error was caused
by an exception)
trace—The exception stack trace (if the error was caused by an exception)
path—The URL path requested when the error occurred
SpringJUnit4ClassRunner, a JUnit class runner that loads a Spring application con
text for use in a JUnit test and enables autowiring of beans into the test class.