首页 > 其他分享> > SpringBoot整合FreeMarker 报错 FTL stack trace ("~" means nesting-related): - Failed at: ${ctx
SpringBoot整合FreeMarker 报错 FTL stack trace ("~" means nesting-related): - Failed at: ${ctx
作者:互联网
解决: 在application.yml配置文件 中加上classic_compatible配置
# freemarker
freemarker:
suffix: .ftl
content-type: text/html
charset: UTF-8
template-loader-path: classpath:/views/
settings:
classic_compatible: true
标签:SpringBoot,配置文件,classic,text,compatible,报错,FreeMarker,suffix 来源: https://www.cnblogs.com/withlamb/p/14985632.html