handle case where .war has manifest with main-class