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

Posted jiapeng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Springboot启动后报错This application has no explicit mapping for /error, so you are seeing this as a fal相关的知识,希望对你有一定的参考价值。

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 fal的主要内容,如果未能解决你的问题,请参考以下文章

spring报错。求大神指教

IDEA 导入 Maven 项目后报错 cannot resolve symbol 解决办法

MYSQL启动后报错故障问题的解决办法

dubbo服务器启动后报错端口被占用

idea创建Maven 项目后,底部没有run窗口 且运行后报错No goals have been specified for this build.

SpringBoot启动报错This application has no explicit mapping for /error.....