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

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

Today, we use spring boot to build a background weather project. The database we use is weather and the table name is city. Adding annotations in the control layer writes getmapping as restmapping, which leads to errors. Fill in the address bar with localhost: port number/database table name/list. Only in this way can it be displayed normally

Read More: