Hermann Hesse ( 2 July 1877 â `` 9 August 1962 ) was a German-Swiss poet , novelist , and painter . Hermann Hesse ( July 2 , 1877 â `` August 9 , 1962 ) was a German-born Swiss poet , novelist , and painter .