Fix the pom.xml and web.xml