springboot使用freemarker报错:Circular view path: would dispatch back to the current

209 阅读1分钟

springboot使用freemarker报错:Circular view path: would dispatch back to the current handler URL again

查看FreeMarkerAutoConfiguration类的源码,找到其配置类--FreeMarkerProperties后查看其默认后缀,我这一版本的默认后缀为.ftl,将.ftlh改为.ftl后,成功显示界面

image.png

image.png