Replace ROOT.war even if it is a directory