springboot的页面出现Whitelabel Error Page

Posted koma-vv

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
  导致的原因就是主方法放的包,位置有问题,我百度很多都是没有用,搞了两天才想到位置问题
技术图片

 

 放到上级目录才是对的

技术图片

 

 

以上是关于springboot的页面出现Whitelabel Error Page的主要内容,如果未能解决你的问题,请参考以下文章