I have the same problem.
I have my pn532 v3 connected to my arduino mega via i2C.
But I only get the "Hello" message trough the Serial Monitor.
As suggested by Waldi the programm seems to get stuck at nfc.begin().
does anyone have a fix for this problem?