因為thymeleaf 使用快捷鍵提示,不提示標簽信息。
在使用網上說的的install new software安裝插件的時候
報錯:
Unable to read repository at http://www.thymeleaf.org/eclipse-plugin-update-site/content.xml.
然后去git上面看了一下,有挺多人都出現了這個錯誤。
帖子后面有人給出解決直接使用eclipse marketplace
輸入使用的時thymeleaf 搜索,install安裝。
安裝的是thymeleaf2.1.2
重啟eclipse,解決問題。能夠顯示。
最后導入名稱空間:
<html lang="en" xmlns:th="http://www.thymeleaf.org">
ok能夠自動提示了