And Jacob came to Salem, a city of Sychem, in the land of Canaan, when he had come from Mesopotamia of Syria. A difficulty arises: how the city Sychem can be called Salem, when Jerusalem, in which Melchizedek reigned, was formerly called Salem. Either, then, both cities are of one name (which we can find of many places in Judaea as well, so that the same name of a city and of a place occurs in one tribe and in another), or certainly we say that this Salem, which is named here in place of Sychem, is here interpreted as completed and perfect, while that which was afterwards called Jerusalem is t...ranslated in our language as peaceful. For with the accent slightly shifted this word sounds as either. The Hebrews relate that the thigh of the limping Jacob grew strong there and was healed, and that for this reason the same city obtained the name of the cured and perfected one.
Source: Hebrew Questions on Genesis