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

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启动类所在包的路径要在最外层,或者根层下

本文转自:https://www.cnblogs.com/hujiapeng/p/7644349.html

----------------

微信扫一扫,分享到朋友圈

Springboot启动后报错【This application has no explicit mapping for /error, so you are seeing this as a fallback····】-爱分乐赚
返回顶部

显示

忘记密码?

显示

显示

获取验证码

Close