change packaging from jar to war
add maven war plugin to pom