Adding servlet-api dependency in pom.xml