ExceptionMapper not working consistently in Jersey 2.x & javax
问题 I am using javax and jersey for my api application (exposing api endpoints) I am trying to catch exceptions coming from fasterXml (on put and post calls) by having a Provider which implements ExceptionMapper. My Problem is that on POST or PUT, whenever I am sending wrong attributes names, sometime my mapper catch the exceptions and sometime it doesn't. For example: Running my application once -> everything is working as expected, catching exceptions. Running my application again (restart) ->