Was Hitler in the military?

Yes he was a soldier in World War 1.