springboot的页面出现Whitelabel Error Page


Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Fri Sep 06 21:41:26 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
  导致的原因就是主方法放的包,位置有问题,我百度很多都是没有用,搞了两天才想到位置问题

 

 放到上级目录才是对的

 

 


免责声明!

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



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