Spring MvC application shows a blank page that downloads a file, instead of a 404 page
I have a Spring MvC application and I’m trying to set up error pages, but when I access a page I don’t get a 403 error page and when I search for an unknown page I don’t get a 404 error page, instead I get a blank page that downloads a blank file. I suspect the problem is in the Spring Security securityFilterChain. Does anybody see a problem with the securityFilterChain: