Updated the pom.xml to servlet dependencies.