One last thing, which I didn't see until now: ``InvalidEntityToBeanExceptionMapper`` and ``InvalidEntityExceptionMapper`` need to be annotated with ``@Produces`` in order to work with Jersey's content negotiation.