首页 > 移动平台 > 详细

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

时间:2017-10-10 11:11:00      阅读:878      评论:0      收藏:0      [点我收藏+]

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····】

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!