Staudinger , who initially wanted to become a botanist , studied chemistry at the Martin Luther University of Halle-Wittenberg , at the Technische Universität Darmstadt and at the Ludwig Maximilian University of Munich .