Spring Boot--使用Thymeleaf遇到過的坑

Spring Boot–使用Thymeleaf遇到過的坑 錯誤1:Thymeleaf模板引擎報錯問題: 首先Thymeleaf是需要導依賴的: org.springframework.boot spring-boot-starter-thymeleaf 如果需要更改版本號,利用相應的代碼,在pox.xml文檔中在進行配置就可以了,代碼如下,這裏配置的都是最高版本: <java.version>1.
相關文章
相關標籤/搜索