Changed pom.xml to add servlet api dependency