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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM