问题: Thymeleaf在本地运行正常,在Linux服务器上页面展示不出来,且报错Error resolving template "xxx", template might not exist or might not be accessible。 解决办法: html代码里的路径前多了" / " ,删掉再部署在服务器上就可以了。 删掉后: