I have web project with Spring and Spring security. My web.xml:
These are two independent methods to do the same thing. Drop the ContextLoaderListener, for example.
ContextLoaderListener