當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
SpringBoot中将thymeleaf升级到3.0或以上版本
生活随笔
收集整理的這篇文章主要介紹了
SpringBoot中将thymeleaf升级到3.0或以上版本
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
場景
在thymeleaf3.0以前對頁面標簽語法要求比較嚴格開始標簽必須有結束標簽。
查看項目中thymelaf版本
實現
打開項目的pom.xml
?<!-- 修改參數 --><properties><!-- 修改JDK的編譯版本為1.8 --><java.version>1.8</java.version><!-- 修改thymeleaf版本 --><thymeleaf.version>3.0.2.RELEASE</thymeleaf.version><thymeleaf-layout-dialect.version>2.0.4</thymeleaf-layout-dialect.version></properties>保存看下修改后的結果
總結
以上是生活随笔為你收集整理的SpringBoot中将thymeleaf升级到3.0或以上版本的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SpringBoot项目新建之后修改编译
- 下一篇: SpringBoot中访问Thymele