问题: 解决: 在application.properties添加 spring.freemarker.settings.classic_compatible=true 一句即可 原因 在freemarker中的空值的处理,默认情况以${xxx}的方式取值会报错