General procedure D for the ammonolysis of esters. A methanolic solution of ammonia (10 mL, 7 M) was added to the ethyl ester (1 mmol), and it was stirred at 25 °C for 48 h. After full consumption, the mixture was concentrated under reduced pressure to get the corresponding primary carboxamide.