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

简介: SpringBoot thymeleaf模板插件安装 SpringBoot thymeleaf模板Html页面没提示 SpringBoot  thymeleaf模板页面没提示 SpringBoot thymeleaf插件下载   ================================ ©Copyright 蕃薯耀 2018年3月27日 http://www.

 

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">  

 

四、看效果:


欢迎大家一起说出自己的想法。
目录
相关文章
|
1月前
|
JavaScript 前端开发 Java
springboot从控制器请求至页面时js失效的解决方法
springboot从控制器请求至页面时js失效的解决方法
15 0
springboot从控制器请求至页面时js失效的解决方法
|
1月前
|
Java 数据库连接 mybatis
springboot访问jsp页面变成直接下载?
springboot访问jsp页面变成直接下载?
35 0
|
1月前
|
JavaScript 前端开发
springboot+layui从控制器请求至页面时js失效的解决方法
springboot+layui从控制器请求至页面时js失效的解决方法
15 0
|
4月前
|
前端开发 Java
SpringBoot下载xlsx模板,导出excel数据
SpringBoot下载xlsx模板,导出excel数据
67 0
|
15天前
|
SQL Java 数据库连接
【mybatis】第一篇,Springboot中使用插件PageHelper不生效解决方案
【mybatis】第一篇,Springboot中使用插件PageHelper不生效解决方案
|
4月前
|
Java 应用服务中间件 nginx
springboot项目打包后页面访问不到
springboot项目打包后页面访问不到
56 1
|
1月前
|
XML Java 数据格式
springboot 微服务项目如何集成 html 页面
springboot 微服务项目如何集成 html 页面
29 0
|
1月前
|
安全 Java 数据安全/隐私保护
SpringBoot启动后出现Please sign in页面
项目启动后,出现莫名其妙的Please sign in页面
40 0
|
2月前
|
SQL 前端开发 Java
springboot + thymeleaf + layui 初尝试
springboot + thymeleaf + layui 初尝试
|
2月前
|
XML 监控 druid
【Java专题_02】springboot+mybatis+pagehelper分页插件+druid数据源详细教程
【Java专题_02】springboot+mybatis+pagehelper分页插件+druid数据源详细教程