Fixed error message

An error message is incorrect. "Problem locating method {0} cannot on type {1}" should be replaced "Problem locating method {0} on type {1}".