When using springboot directly to find and read the page, an error will be reported:
This application has no explicit mapping for /error
In fact, the solution is very simple, just add the following dependencies to gradle:
compile("org.springframework.boot:spring-boot-starter-thymeleaf")