Can the potential barrier across a p-n junction be measured by simply connecting a voltmeter across the junction?

Hint: The resistance of the voltmeter is very high.
We cannot measure the potential barrier across a p-n junction by a voltmeter because the resistance of voltmeter is very high as compared to the junction resistance.