tokuhirom's blog

How do I set TemplateExceptionHandler with spring-boot+freemarker?

You should use one of following properties.

-Dspring.freemarker.template_exception_handler=rethrow
-Dspring.freemarker.template_exception_handler=debug
-Dspring.freemarker.template_exception_handler=html_debug

Thanks,

Created: 2016-05-02 05:24:54 +0000
Updated: 2016-05-02 05:24:54 +0000