Cannot find a class or type named "Box"

There is no PBox2D !? Guess you want to use Box2DProcessing.
You can always look at the attached examples in File->Examples->Contributed Libraries->Box2D for Processing…

Oh … and … regarding Box … this should be defined by your sketch … (look at the examples)

Cheers!

2 Likes