I'm in a project with Spring MVC 4, and I need to generate an Excel with a set of data on the screen. For this I use Apache POI to make the generation integrating it with Spring. However, when the file download runs, I get a 403 error. The application includes Spring security and is configured with Java and Annotations. I have made the trace but it does not even enter the controller to manage the URL that is invoked when requesting the Excel download. It shows the correct URL, the controller is correctly configured ... Has anyone encountered something similar?