avatar

目录
springboot thymeleaf不渲染页面返回字符串

错误信息:

Code
1
2
3
4
5
6
7
8
9
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Mar 30 01:59:07 CST 2019

There was an unexpected error (type=Internal Server Error, status=500).

Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers

org.thymeleaf.exceptions.TemplateInputException: Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers

@RestController 与 @Controller

文章作者: TZZ
文章链接: https://tzzs.github.io/2019/03/30/springboot-thymeleaf%E4%B8%8D%E6%B8%B2%E6%9F%93%E9%A1%B5%E9%9D%A2%E8%BF%94%E5%9B%9E%E5%AD%97%E7%AC%A6%E4%B8%B2/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 ZT
打赏
  • 微信
    微信
  • 支付寶
    支付寶

评论