changed jar to war in pom.xml