Added applicationContext and ContextLoaderListener to web.xml