A method for producing a compound represented by the general formula: (wherein R1 represents a halogen atom, a C1-4 alkyl group, a C1-4 alkoxy group, a C1-4 haloalkyl group or a C1-4 haloalkoxy group; R2 represents a halogen atom, a C1-4 alkyl group, a C1-4 alkoxy group, a nitrile, a C1-4 haloalkyl group or a C1-4 haloalkoxy group; ring1 represents an azetidine, pyrrolidine or piperidine ring; m represents an integer of 0 to 4; and n represents an integer of 0 to 5); or a salt thereof, the method comprising the following steps (iv) to (vii): step (iv): subjecting a compound presented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof to a reaction with a compound represented by the general formula (a): (wherein ring1 has the same meaning as above and Boc represents a tert-butoxycarbonyl group); or a salt thereof in the presence of a base followed by alkaline hydrolysis to produce a compound represented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof; step (v): subjecting the compound represented by the general formula obtained in the step (iv) or a salt thereof to a reaction with 1,1'-carbonyldiimidazole in the presence of a base to produce a compound represented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof; step (vi): subjecting the compound represented by the general formula obtained in the step (v) or a salt thereof to a reaction with a protected amine or a salt thereof to produce a compound represented by the general formula: (wherein R15 and R16 respectively and independently represent a hydrogen atom, a benzyloxycarbonyl group, a t-butoxycarbonyl group, an allyloxycarbonyl group, a 1-methyl-1-(4-biphenyl)ethoxycarbonyl group, a trifluoroacetyl group, a 9-fluorenylmethoxycarbonyl group, a benzyl group, a p-methoxybenzyl group, a benzyloxymethyl group or a 2-(trimethylsilyl)ethoxymethyl group, provided that R15 and R16 do not simultaneously represent hydrogen atoms; and all other symbols represent the same meanings as above); or a salt thereof; and step (vii): subjecting the compound represented by the general formula obtained in the step (vi) or a salt thereof to a deprotection reaction to produce the compound represented by the general formula or a salt thereof. or a salt thereof, the method comprising the following steps (iv) to (vii): step (iv): subjecting a compound presented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof to a reaction with a compound represented by the general formula (a): (wherein ring1 has the same meaning as above and Boc represents a tert-butoxycarbonyl group); or a salt thereof in the presence of a base followed by alkaline hydrolysis to produce a compound represented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof; step (v): subjecting the compound represented by the general formula obtained in the step (iv) or a salt thereof to a reaction with 1,1'-carbonyldiimidazole in the presence of a base to produce a compound represented by the general formula: (wherein all symbols represent the same meanings as above); or a salt thereof; step (vi): subjecting the compound represented by the general formula obtained in the step (v) or a salt thereof to a reaction with a protected amine or a salt thereof to produce a compound represented by the general formula: (wherein R15 and R16 respectively and independently represent a hydrogen atom, a benzyloxycarbonyl group, a t-butoxycarbonyl group, an allyloxycarbonyl group, a 1-methyl-1-(4-biphenyl)ethoxycarbonyl group, a trifluoroacetyl group, a 9-fluorenylmethoxycarbonyl group, a benzyl group, a p-methoxybenzyl group, a benzyloxymethyl group or a 2-(trimethylsilyl)ethoxymethyl group, provided that R15 and R16 do not simultaneously represent hydrogen atoms; and all other symbols represent the same meanings as above); or a salt thereof; and step (vii): subjecting the compound represented by the general formula obtained in the step (vi) or a salt thereof to a deprotection reaction to produce the compound represented by the general formula or a salt thereof.