Added Spring dependencies in the pom.xml file