解决Springboot:This application has no explicit mapping for /error

Posted Circle-C

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Springboot:This application has no explicit mapping for /error相关的知识,希望对你有一定的参考价值。

Whitelabel Error Page

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

Tue Dec 14 10:14:08 CST 2021

There was an unexpected error (type=Not Found, status=404).

页面上也不明说错了什么,查了很多地方都说是Application类的位置应该放在最外面的包中,一小部分提示缺少依赖,但都没有解决这个问题。

最好发现是controller类的的一个注解写错了。

原来:

现在:

 

 

 

以上是关于解决Springboot:This application has no explicit mapping for /error的主要内容,如果未能解决你的问题,请参考以下文章

MobileNet V12017-CVPR-MobileNets Efficient Convolutional Neural Networks for Mobile Vision Applica

MobileNet V12017-CVPR-MobileNets Efficient Convolutional Neural Networks for Mobile Vision Applica

[flask初学问题]RuntimeError: No application found. Either work inside a view function or push an applica

PHP 致命错误:未捕获的错误:在 /home/khadija/InstProject/bootstrap/app.php:14 中找不到类“Illuminate\Foundation\Applica

ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Applica

PHP 致命错误:在第 47 行的 /var/www/znata.com/app/AppKernel.php 中找不到类 'Application\Sonata\MediaBundle\Applica