The order value has to be specified for the HandlerMapping so that it will be ordered before the one that serves the static resource.
The order value has to be specified for the HandlerMapping so that it will be ordered before the one that serves the static resource.