您的位置:首页 > 移动开发

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

2017-10-10 10:30 876 查看
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启动类所在包的路径要在最外层,或者根层下
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐