I am new to spring security
I have web.xml
web.xml
You haven't declared the root webapp context - you've added the contextConfigLocation, but not the listener that uses it:
contextConfigLocation
<listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener>