diff --git a/screw-core/src/main/java/cn/smallbun/screw/core/engine/freemark/FreemarkerTemplateEngine.java b/screw-core/src/main/java/cn/smallbun/screw/core/engine/freemark/FreemarkerTemplateEngine.java index 6458128..c919b9d 100644 --- a/screw-core/src/main/java/cn/smallbun/screw/core/engine/freemark/FreemarkerTemplateEngine.java +++ b/screw-core/src/main/java/cn/smallbun/screw/core/engine/freemark/FreemarkerTemplateEngine.java @@ -48,9 +48,10 @@ import static cn.smallbun.screw.core.util.FileUtils.isFileExists; */ public class FreemarkerTemplateEngine extends AbstractTemplateEngine { /** - * freemarker 配置实例化 采用VERSION_2_3_30版本 + * freemarker 配置实例化 */ - private final Configuration configuration = new Configuration(Configuration.VERSION_2_3_30); + private final Configuration configuration = new Configuration( + Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS); { try {