To resolve the “application has no explicit mapping for /error, so you are seeing this as a fallback” error, you can take one of three approaches: identify and address loading issues with the controller or method, disable the error page from the browser, or customize the error page to showcase the relevant error message. The current situation is marked by an unexpected “Whitelabel Error page,” resulting in a 404 Page Not Found error.
If the URL triggers a REST call or a JSP call in the Spring Boot application, and an issue arises during the process, Spring Boot may not be able to fulfill the request. In such cases, instead of serving the requested content, the browser will display the “Whitelabel Error Page.” This default error page is presented to the user, indicating that an unexpected error occurred during the attempt to process the request. To address and resolve the issue, thorough debugging and investigation of the REST or JSP calls, as well as potential errors in the Spring Boot application, are necessary.
The Error Page
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Apr 10 22:45:19 IST 2020
There was an unexpected error (type=Not Found, status=404).
No message available