I was trying to highlight the fact that there is a mismatch in BV versions here.
Looks like NB has the latest bv jar and we are a step back...
Reason I know this is when I was tryign to add a custom validator (this class is
used there), I had used Payload.java. And it worked fine till Jane reverted the
BV version. At that point compilation failed. So I changed the classname to
What is more confusing is that all along (that is before and after BV was
updated), per Grizzly team, their validators (which were using ConstraintPayload
from older BV versions) were working fine too. Worst it can indicate to is that
two versions of the same artifact are being used within GF. Or perhaps there is
some other explanation. (But this is a separate topic to discuss. Grizzly needs
to compile with newer BV versions, apparently that step is missing. So when new
BV itnergation is done, hk2's pom changes, but not Grizzly's)