SpringBoot thymeleaf模板页面没提示,SpringBoot thymeleaf模板插件安装

SpringBoot thymeleaf模板插件安装

SpringBoot thymeleaf模板Html页面没提示

SpringBoot  thymeleaf模板页面没提示

SpringBoot thymeleaf插件下载

 

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

©Copyright 蕃薯耀 2018年3月23日

http://fanshuyao.iteye.com/

 

一、 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,如下:

 xmlns:th="http://www.thymeleaf.org"
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">

 

四、看效果:



 

 

 

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

©Copyright 蕃薯耀 2018年3月23日

http://fanshuyao.iteye.com/

猜你喜欢

转载自fanshuyao.iteye.com/blog/2414401