SpringBoot整合FreeMarker 报错 FTL stack trace ("~" means nesting-related): - Failed at: ${ctx}

时间:2021-07-08 18:11:26   收藏:0   阅读:358
解决: 在application.yml配置文件 中加上classic_compatible配置
# freemarker
freemarker:
suffix: .ftl
content-type: text/html
charset: UTF-8
template-loader-path: classpath:/views/
settings:
classic_compatible: true

原文:https://www.cnblogs.com/withlamb/p/14985632.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!