报org.thymeleaf.exceptions.TemplateInputException: Error resolving template 记录一下愚蠢错误
报org.thymeleaf.exceptions.TemplateInputException: Error resolving template 记录一下愚蠢错误我的的目录如下
我的的目录如下
我在springboot 使用thymeleaf模板引擎时,报了这个错误
thymeleaf引擎的前后缀是默认的
但是我的页面在 templates/pages 目录下
而我controller返回的视图地址 忘记加pages了,导致了这个错误
...
原创
2021-02-03 23:05:53 ·
91 阅读 ·
0 评论