Didn't Germany have strict rules on their army after ww1? How could they be prepared for a war already in 1939?
They broke the restrictions placed on them in the Treaty of Versailles and were in a rearmament process through the 1930s.