码迷,mamicode.com
首页 > 移动开发 > 详细

Springboot启动后报错【This application has no explicit mapping for /error, so you are seeing this as a fallback····】

时间:2017-10-10 11:37:12      阅读:309      评论:0      收藏:0      [点我收藏+]

标签:type   ica   status   ror   available   his   cat   ack   created   

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Dec 14 16:35:25 CST 2016
There was an unexpected error (type=Not Found, status=404).
No message available
 
spring-boot会自动加载启动类所在包下及其子包下的所有组件.
 
所以springboot启动类所在包的路径要在最外层,或者根层下

Springboot启动后报错【This application has no explicit mapping for /error, so you are seeing this as a fallback····】

标签:type   ica   status   ror   available   his   cat   ack   created   

原文地址:http://www.cnblogs.com/hujiapeng/p/7644349.html

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