Tetrabutylammonium iodide catalyzed synthesis of allylic ester with tert-butyl hydroperoxide as an oxidant.