org.thymeleaf.exceptions.TemplateInputException:
Error resolving template "idx",
template might not exist or might not be accessible by any of the configured Template Resolvers
- 模板可能不存在,或者任何配置的模板解析器都无法访问
- 检查application.properties文件中有没有多余的空格
- 在引用模板文件的时候不用”/”打头就可以了,通过类似相对路径的方式来引用,但是需要说明的是,这里的相对路径仍然是相对于模板根目录来做的。