SpringBoot thymeleaf template page does not prompt, SpringBoot thymeleaf template plug-in installation

SpringBoot thymeleaf template plugin installation

SpringBoot thymeleaf template Html page does not prompt

SpringBoot thymeleaf template page does not prompt

SpringBoot thymeleaf plugin download

 

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

©Copyright Sweet Potato Yao March 23, 2018

http://fanshuyao.iteye.com/

 

1. The thymeleaf plugin download address:

1. Download from the official website:

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

 

2. Attachment download:

thymeleaf-extras-eclipse-plugin-2.1.2.zip

 

Two, thymeleaf plugin installation

1. Enter the eclise installation directory and find the dropins folder

2. Create a new folder in the dropins folder: thymeleaf-2.1.2

3. Unzip thymeleaf-extras-eclipse-plugin-2.1.2.zip

4. Copy the folder features and plugins unzipped in step 3 to thymeleaf-2.1.2

5. Restart eclise

 

3. Add xmlns declaration to Html page: http://www.thymeleaf.org, as follows:

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

 

Fourth, see the effect:



 

 

 

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

©Copyright Sweet Potato Yao March 23, 2018

http://fanshuyao.iteye.com/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326223066&siteId=291194637