Configured pom.xml to create war file. Deleted unused dependency.