解决办法:

  如果是eclipse需要安装thymeleaf插件,打开eclipse的 window-->help -->install new sofrware-->add

  Location地址为:http://www.thymeleaf.org/eclipse-plugin-update-site/

  重启即可。

 

干干净净如下: