- 引入jar包
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker-gae</artifactId>
<version>2.3.30</version>
</dependency>
注:https://blog.csdn.net/twj123456321/article/details/80881037
2. 修改jfinal中默认模板引擎
public void constant(Constants me){
me.setViewType(ViewType.FREE_MARKER);
}
注:http://www.jfinal.com/feedback/3454