Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Aug 04 17:48:02 CST 2017
There was an unexpected error (type=Not Found, status=404).
No message available
解决方法:
出现这个问题原因:
一、检查SpringbootApplication的位置是否直接在groupId的包下面
比如你的groupId是com.baidu。那么SpringbootApplication放在\src\main\java\com\baidu\目录下
二、如果第一步并且使用的是thymeleaf模板引擎,那么再检查有没有添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>