Built a proper .war, and removed copy+pasted code