码迷,mamicode.com
首页 > 编程语言 > 详细

springBoot 没有跳转到指定页面

时间:2018-10-13 21:42:57      阅读:161      评论:0      收藏:0      [点我收藏+]

标签:conf   根据   code   err   framework   toc   class   tar   start   

Whitelabel Error Page

技术分享图片

 
解决办法,添加依赖:
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>

 

原因:springboot 在启动 thymeleaf 时,会根据 ThymeleafAutoConfiguration 自动去认

技术分享图片

 

 

springBoot 没有跳转到指定页面

标签:conf   根据   code   err   framework   toc   class   tar   start   

原文地址:https://www.cnblogs.com/xiluhua/p/9784063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!