Skip to content

problem-details-java

Standard error responses for Java APIs — one model, JSON and XML output, Spring and Jakarta REST support.

If your API returns errors (it does), this library makes them consistent: every error carries the same five fields defined by RFC 9457, so clients only learn one format. New here? The Quickstart gets you there in five minutes.

Pick your path

At a glance

Works on Java 17 and newer. The core has no dependencies at all; each extra piece (JSON, Spring, …) is a module you add only if you need it.

Licensed under the Apache License 2.0 — see LICENSE.