Added spring dependencies to pom.