“…The protocol was also applied to the esterification of methacrylic acid and cinnamic acid, giving the desired methyl methacrylate (3u) and methyl cinnamate (3v) in 72% and 79% yield respectively (entries 21 and 22). Finally, the methylation of carboxylic acids with a heteroarene, 1H-indol-3-ylacetic acid, pyridine-3-carboxylic acid, and thiophene-2-carboxylic acid, gave the corresponding esters 3w, 3x, and 3y in 79%, 81%, and 83% yields, respectively, under the same reaction conditions (entries [23][24][25]. Notably, when the reaction was completed, salicylic acid was readily recovered as a white precipitate after hydrolysis of the excess of methyl salicylate, extraction of the reaction mixture, and acidification of the aqueous phase with hydrochloric acid.…”