spring-boot启动报错This application has no explicit mapping for /error, so you are seeing this as a fall

标签: spring boot
0人阅读 评论(0) 收藏 举报
分类:

2、原因:

      没有找到要加载的路劲

2、解决方法:

     原因是【Application启动类放的位置不对】要将Application放在最外层,也就是要包含所有子包test。

比如你的groupId是com.test,子包就是所谓的com.test.xxx,所以要将Application放在com.test包下。


查看评论

WinCVS与CVSNT简明使用手则(一)

  WinCVS与CVSNT简明使用手则(作者:Jackey,网址:www.kuihua.net)1       前言:CVS是版本控制的利器,目前在Linux和Windows下都有不同版本;但是国内...
  • ycw
  • ycw
  • 2003-12-29 12:20:00
  • 6539

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

Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this a...
  • qq_26718271
  • qq_26718271
  • 2017-08-04 18:01:05
  • 6439

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

I added this dependency and it solved my problem. org.springframework.boot spring-boot-st...
  • AlbertFly
  • AlbertFly
  • 2017-08-10 17:42:23
  • 3760

springboot访问页面报错:This application has no explicit mapping for /error, so you are seeing this as a fa

今天闲来无事,自己搭建一个springboot做个小例子,但在访问页面时报错了:This application has no explicit mapping for /error..... 找了好...
  • qq616138361
  • qq616138361
  • 2017-10-19 15:56:51
  • 3996

spring-boot启动报错:This application has no explicit mapping for /error, so you are seeing this as a fal

1、报错信息:   Whitelabel Error Page    This application has no explicit mapping for /error...
  • yuanyuan214365
  • yuanyuan214365
  • 2017-09-24 10:42:23
  • 2579

spring boot报错:this application has no explicit mapping for /error...

今天在做SpringBoot的小例子,在请求controller层出现了以下问题: Whitelabel Error Page This application has no explicit m...
  • cyd_shuihan
  • cyd_shuihan
  • 2017-08-29 09:45:42
  • 532

spring-boot启动报错【This application has no explicit mapping for /error.....】

从spring-boot官网上看的例子,自己试着写了一个 返回name和id的小接口,一开始访问http://localhost:8080/getPerson 报错 : Whitelabel E...
  • q12344566789
  • q12344566789
  • 2016-12-14 16:44:02
  • 31587

spring boot项目使用jsp时报错: application has no explicit mapping for /error, so you are seeing this as ...

所有配置都没问题了,但是访问的时候一直报如上的错误,已经确认配置设置都没有问题。处理方法:项目启动方式问题,如果直接run或者debug方式启动,就会报错。此时需要通过spring-boot:run方...
  • erwenyisheng
  • erwenyisheng
  • 2018-03-16 15:34:36
  • 30

SpringBoot启动报错【This application has no explicit mapping for /error.....】

refs: http://www.cnblogs.com/michaelShao/p/6675186.html 今天做SpringBoot小例子,在请求controller层的...
  • Henry_Wu001
  • Henry_Wu001
  • 2017-09-28 11:30:33
  • 493

Spring Whitelabel Error Page: This application has no explicit mapping for /error, so you are seeing

Spring boot 服务器输入网址后显示异常信息: Whitelabel Error Page: This application has no explicit mapping for /e...
  • qijingpei
  • qijingpei
  • 2018-01-28 18:48:42
  • 558
    个人资料
    持之以恒
    等级:
    访问量: 114
    积分: 74
    排名: 156万+
    文章存档