If the treaty of Versailles left Germany with a broken economy, hyperinflation, unemployment and limited military resources, then how did the Germans manage gather the resources to build a massive army to fight wars on two fronts.
Please refer to the FAQ, there's an entire section on it and this question comes up literally every week.