打开eclipse的插件安装,Help—>Installations new SoftWare—>add 插件地址为: http://www.thymeleaf.org/eclipse-plugin-update-site/一路next,最后重启Eclipse即可。