I know that Friedel-Crafts reaction (either alkylation or acylation) fails with phenol and aniline, due to formation of a coordinate bond between Lewis acid catalyst and the lone pair of the respective functional group.
But I have read that even benzoic acid fails to undergo this reaction. I couldn't think of a reason for this. Can anyone explain why is it so?