freemarker报错:The following has evaluated to null or missing

十月 09, 2020 3:08:14 下午 freemarker.log._JULLoggerFactory$JULLogger error
严重: Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> name  [in template "workspace/审计通知书模板.ftl" at line 316, column 36]

FTL stack trace ("~" means nesting-related):

Failed at: ${
    
    name}  [in template "workspace/审计通知书模板.ftl" at line 316, column 34]

解决方法
n a m e 修 改 为 {name}修改为 name{name!}。

猜你喜欢

转载自blog.csdn.net/numbbe/article/details/109023070