SpringBoot thymeleaf模板頁(yè)面沒(méi)提示,SpringBoot thymeleaf模板插件安裝
SpringBoot thymeleaf模板插件安裝
SpringBoot thymeleaf模板Html頁(yè)面沒(méi)提示
SpringBoot thymeleaf模板頁(yè)面沒(méi)提示
SpringBoot thymeleaf插件下載
================================
?Copyright 蕃薯耀 2018年3月27日
http://www.rzrgm.cn/fanshuyao/
附件下載地址見(jiàn):http://fanshuyao.iteye.com/blog/2414401
一、 thymeleaf插件下載地址:
1、官網(wǎng)下載:
https://github.com/thymeleaf/thymeleaf-extras-eclipse-plugin/releases
2、附件下載:
thymeleaf-extras-eclipse-plugin-2.1.2.zip
二、 thymeleaf插件安裝
1、進(jìn)入eclise安裝目錄,找到dropins文件夾
2、在dropins文件夾新建立一個(gè)文件夾:thymeleaf-2.1.2
3、把thymeleaf-extras-eclipse-plugin-2.1.2.zip解壓
4、把第3步解壓的文件夾features、plugins復(fù)制到thymeleaf-2.1.2里面
5、重啟eclise
三、Html頁(yè)面添加xmlns聲明:http://www.thymeleaf.org,如下:
- xmlns:th="http://www.thymeleaf.org"
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8">
四、看效果:

歡迎評(píng)論,一起學(xué)習(xí),對(duì)大家有用請(qǐng)點(diǎn)個(gè)贊。

浙公網(wǎng)安備 33010602011771號(hào)