# zalando/problem-spring-web

A library for handling Problems in Spring Web MVC

Repository: https://github.com/zalando/problem-spring-web
Canonical: https://ross.abutalabs.com/products/problem-spring-web
Language: Java
License: MIT
License Family: permissive
Topics: java, json, exception, error, problem, rfc7807, spring, spring-boot, web, microservice
Last push: 2026-03-23T10:56:10+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 73, release rhythm 8, longevity 100
- inputs: {"age_days": 4033, "days_push": 163, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1070, forks 135 (observed 2026-08-28T04:03:27.883355+00:00)

## What it is
A Java library that produces RFC 7807/9457 application/problem+ error responses from Spring MVC and Spring WebFlux applications. It provides composable 'advice traits' — reusable @ExceptionHandler default methods — that can be mixed into @ControllerAdvice classes without a common base class.

## Use cases
- return rfc7807 problem+ error responses in spring boot
- standardize exception handling across spring mvc controllers
- handle spring webflux errors with problem details
- integrate spring security exceptions into problem  responses
- compose reusable exception handlers without base classes
- make microservice error responses consistent

## When to choose
- you maintain an existing Spring app already using the Problem library
- you need fine-grained, composable exception handling traits on older Spring versions lacking RFC 9457 support
- you want consistent problem+ errors across MVC and WebFlux

## When to avoid
- you use a recent Spring Framework version with built-in Error Responses (RFC 9457) support
- you are starting a new project and can rely on Spring's native exception handling
- you need error handling outside the Spring ecosystem

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware, serialization, error-handling, web-framework
- domain: web-development, backend, apis, developer-tools
- platform: jvm
- tags: rfc7807, rfc9457, spring-boot, spring-webflux, exception-handling, problem-, advice-traits, rest-api-errors, spring

## Member repositories
- zalando/problem-spring-web (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.883355+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:54:15.213489+00:00, confidence not recorded.
  - readme: https://github.com/zalando/problem-spring-web (fetched 2026-08-28T04:03:27.883355+00:00, sha 882eb3fb71ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
