-
Notifications
You must be signed in to change notification settings - Fork 41.8k
Closed
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
After upgrading to Spring Boot 2.6.0 default white-labeled error page stopped working. We are using Spring MVC for REST endpoints and when a user accesses a URL that is not mapped to a controller, he just gets 404 with no HTML, in previous version he got an error page.
We actually have custom ErrorAttributes implementation to override the response, but the change in the behavior is there even without the customization. I did not have much time to debug it, but it seems that the redirect to /error does not happen in the new version. Maybe it's an intentional change, but I could not find it anywhere in the release notes.
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid