changed pom to latest libraries and fixed a bug in web.xml