Tag Archives: Whitelabel Error PageThis application has no explicit mapping for /error

[Solved] Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this

Problem Description:

Bloggers appear when running springbootweb:

Whitelabel Error Page

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

As follows:

It is found that the input URL is incorrect. After repeatedly confirming that the path in the file is written correctly, it is found that the location of the main running class of springboot is incorrect:

i see:

The package name was set when the springboot was created, but the self tested controller is in another self created package, but the spring boot will automatically load all components under the package where the startup class is located and its sub packages, so an error is reported

Solution:
just put the WebTest package on com.web.springboot_ Just under echarts

The purpose is to make the application contain all sub packages!!