changing package type jar to war in pom file