> Can you please try and register a custom JAXBElementProvider with the > JAXRSServerFactoryBean ? This provider will only extend writeTo/ReadFrom and > will have a try/catch block around super.writeFrom and readFrom ? > I'll check the JAXBElementProvider, I think it has few catches for > different types of exceptions including the Exception class - and in this > case it should indeed print a stacktrace...Letting users to configure the > default WebApplicationExceptionMapper for it to print the stacktraces is > another option... > > I updated the code accordingly, but in meantime the easiest option to catch the origin of the exception is to actually register a custom WebAplicationExceptionMapper, i.e, ExceptionMapper<WebApplicationException> implementation (as a provider on the JAXRSServerFactoryBean) and then just print the stack trace
Cheers, Sergey
