lit. "there is no mistaking it, it must be (...)" It implies that you think so because of instinct judgement, and is a little more #formal (andwritten-language)
彼は親切に違いない。 There is no mistaking it, he must be kind.
遅刻するに違いない。 There is no mistaking it, I must be late!