我有一个FreeMarker配置:public class FreeMarkerConfig {
public FreeMarkerConfigurationFactoryBean:freemarker:2.3.30' developmentOnly 'org.springframework.bootdefined in class path re
我有一个带有一些导出语句的.ftl,对于一个特定的变量,我想做一个条件检查,看看它是否存在并设置。我遵循了前面提到的语法,我的脚本如下所示export my_app_env=${my_app_env:-root} # this is bash syntax but clasing with ftl syntaxEncountered ":", but was expecting one of:".."
<DOT_DO