[CH2:1]([C:4]1[C:13]([OH:14])=[C:12]([N+:15]([O-:17])=[O:16])[CH:11]=[CH:10][C:5]=1[C:6]([O:8][CH3:9])=[O:7])[CH:2]=[CH2:3].C1(C)C=CC(S(O)(=O)=O)=CC=1.C(=O)(O)[O-].[Na+]>ClCCCl>[CH3:3][CH:2]1[CH2:1][C:4]2=[C:5]([C:6]([O:8][CH3:9])=[O:7])[CH:10]=[CH:11][C:12]([N+:15]([O-:17])=[O:16])=[C:13]2[O:14]1Methyl 2-allyl-3-hydroxy-4-nitro-benzoate 1d (800 mg, 3.30 mmol) was dissolved in 10 mL of 1,2-dichloroethane followed by the addition of 1 mL of p-toluenesulfonic acid. The reaction solution was stirred for 48 hours. The resulting solution was added with 10 mL of saturated sodium bicarbonate solution and extracted with dichloromethane (20 mL×3). The combined organic phase was washed with water (20 mL) and saturated sodium chloride solution (20 mL) successively, then dried over anhydrous magnesium sulfate, filtered and the filtrate was concentrated under reduced pressure. The resulting residue was purified by silica gel column chromatography to obtain the title compound methyl 2-methyl-7-nitro-2,3-dihydrobenzofuran-4-carboxylate 30a (100 mg, yield: 12.5%) as a yellow solid.