springboot报错Whitelabel Error Page

Posted 圣金巫灵

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了springboot报错Whitelabel Error Page相关的知识,希望对你有一定的参考价值。

第一次使用springboot没有问题。隔了两天继续看。一直报错Whitelabel Error Page。

重新搭建试了任何方法都错了。

 

报的就是一个404错误,犯了一个习惯性错误,一般都是localhost:8080/工程名字/requestMapping路径名

 

实际是: localhost:8080/requestMapping路径名 。不需要工程名字就可以访问了。

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

SpringBoot接口服务处理Whitelabel Error Page

springboot的页面出现Whitelabel Error Page

SpringBoot 应用程序在从 JAR 提供 JSP 时显示 Whitelabel 错误页面

springboot新建项目遇到Whitelabel Error Page

SpringBoot启动项目之后,访问页面出现Whitelabel Error Page

SpringBoot项目出现Whitelabel Error Page