[Solved] SpringBoot Error: This application has no explicit mapping for /error, so you are seeing this

Springboot project running error:

If you check the directory, the problem lies in the URL in the controller
(1) if: @ requestmapping (“/”)

the URL should be written:

(2) if the URL is like this:

Then @ requestmapping (“/ users”)

is a very simple question… As a result, I took a long walk to look at the XML file and properties for half a day… To record this little problem

Read More: