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