spring boot error page thymeleaf code example Example: spring thymeleaf configure error page create a file called error.html on the resources folder