天天看點

解決thymeleaf模闆的html标簽不提示

今天學習了下thymeleaf3,感覺确實很新穎,但是在寫html靜态頁面時遇到标簽不提示,即<th:沒有東西,解決如下:

這是因為沒有安裝thymeleaf插件的緣故,打開eclipse的 window-->help -->install new sofrware-->add

解決thymeleaf模闆的html标簽不提示
解決thymeleaf模闆的html标簽不提示

填入name,Location位址為:http://www.thymeleaf.org/eclipse-plugin-update-site/

一路确定,安裝完後重新開機eclipse即可。

繼續閱讀