Changed packaging to war. Also creates JAR containing classes.