Spring Boot 2+ Thymeleaf 3.0.10 Exception handling- Not able to return error.html

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Spring Boot 2+ Thymeleaf 3.0.10 Exception handling- Not able to return error.html

Krish
This post was updated on .
I'm facing problem with Thymeleaf 3.0.10. I don't know exactly what i missed here. can anyone please help me on this? The problem is I'm using ErrorController to handle the Thymeleaf errors and forwarding it into custom error page. But Thymeleaf parsing customError page with NestedException of past html error. Is there a way to return customError page here. please see my code was already posted in stackoverflow.
https://stackoverflow.com/questions/53039513/spring-boot-2-thymeleaf-3-0-10-exception-handling-not-able-to-return-error-htm

Edit
 This configuration working for thymeleaf syntax errors like if i forgot to close  tag then it return the custom error page. But when it comes to binding results such as th:field=*{test.testString} it is not working.