modified pom.xml and applicationContext.xml