Added dependencies for spring, small fixes in applicationContext.xml, fixed web.xml, added spring-context.xml