Spring boot中整合freemarker若干問題

其實很簡單,在maven的pom.xml文件中加入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </dependency> maven便會自動導入所需要的包。 編寫 再編寫freemarker文件 啓動便可
相關文章
相關標籤/搜索