SpringBoot thymeleaf模板頁面沒提示,SpringBoot thymeleaf模板插件安裝


SpringBoot thymeleaf模板插件安裝

SpringBoot thymeleaf模板Html頁面沒提示

SpringBoot  thymeleaf模板頁面沒提示

SpringBoot thymeleaf插件下載

 

================================

©Copyright 蕃薯耀 2018年3月27日

http://www.cnblogs.com/fanshuyao/

 

附件下載地址見:http://fanshuyao.iteye.com/blog/2414401

 

一、 thymeleaf插件下載地址:

1、官網下載:

https://github.com/thymeleaf/thymeleaf-extras-eclipse-plugin/releases

 

2、附件下載:

thymeleaf-extras-eclipse-plugin-2.1.2.zip

 

二、 thymeleaf插件安裝

1、進入eclise安裝目錄,找到dropins文件夾

2、在dropins文件夾新建立一個文件夾:thymeleaf-2.1.2

3、把thymeleaf-extras-eclipse-plugin-2.1.2.zip解壓

4、把第3步解壓的文件夾features、plugins復制到thymeleaf-2.1.2里面

5、重啟eclise

 

三、Html頁面添加xmlns聲明:http://www.thymeleaf.org,如下:

Html代碼   收藏代碼
  1. xmlns:th="http://www.thymeleaf.org"  
Html代碼   收藏代碼
  1. <!DOCTYPE html>  
  2. <html xmlns:th="http://www.thymeleaf.org">  
  3. <head>  
  4. <meta charset="UTF-8">  

 

四、看效果:


 

 

(如果你覺得文章對你有幫助,歡迎捐贈,^_^,謝謝!) 

================================

©Copyright 蕃薯耀 2018年3月27日

http://www.cnblogs.com/fanshuyao/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM