See #27052

An application running as a native image does not seem to handle ProblemDetail propertly at the moment.

Comment From: snicoll

It turns out that @ExceptionHandler is not supported at the moment so I'll expand this issue to support that.