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

Spring boot整合 Thymeleaf时出现的问题

Spring boot整合 Thymeleaf时出现的问题
一直报错最后发现因为返回的是json格式需要@ResponseBody这个标注在你使用@Controller标注的时候。

相关文章:

  • 2021-04-15
  • 2021-09-05
  • 2021-05-26
  • 2021-06-03
  • 2021-10-27
  • 2020-06-16
  • 2022-01-06
猜你喜欢
  • 2021-11-15
  • 2021-10-11
  • 2021-09-21
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
相关资源
相似解决方案