added spring dependency to pom.xml