其实很简单,在maven的pom.xml文件中加入
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </dependency>
maven便会自动导入所需要的包。
编写
再编写freemarker文件
启动便可得到结果
其实很简单,在maven的pom.xml文件中加入
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </dependency>
maven便会自动导入所需要的包。
编写
再编写freemarker文件
启动便可得到结果
相关文章: