changed java version to 1.8 and servlet api 3.1.0