springboot访问web时出现Could not resolve view with name ‘xxx‘ in servlet with name dispatcherServlet异常提示

  • Post author:
  • Post category:其他


我的原因是pom文件未引入Thymeleaf

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>



版权声明:本文为weixin_49725521原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。