adding correct dependency in war module