這期內容當中小編將會給大家?guī)碛嘘PSpringBoot如何使用Thymeleaf模板引擎訪問靜態(tài)html,文章內容豐富且以專業(yè)的角度為大家分析和敘述,閱讀完這篇文章希望大家可以有所收獲。
一:創(chuàng)建spring boot的web項目,過程略;
二:依賴如下:
org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-thymeleaf 2.1.2.RELEASE org.springframework.boot spring-boot-starter-test test org.junit.vintage junit-vintage-engine