注意:重现此问题的所有代码可在https://gist.github.com/SrikanthRao/c9fc35e6fe22a74ab40c获得。http://localhost:8080/date/bean?date=2014-13-23(使用BeanParam)产生"{"code":500,"message":"处理您的请求时出错。它已被记录(ID48be9aa43bd49547)。"}"没有将MultiExceptionMapper添加到Jersey。如果我将MultiExceptionMapper添加到jersey,上面的url结果为“日期不是YYYY-MM-DD格式或无效”