The target compound can be obtained by heating benzaldehyde (I) with ethyl acetoacetate (II) in HOAc in the presence of ZnCl2 and Ac2O.