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/

原文地址:https://www.cnblogs.com/fanshuyao/p/8655902.html