Better Error Handling for Your Spring Boot REST APIs

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • problem-spring-web

    A library for handling Problems in Spring Web MVC

  • For that https://github.com/zalando/problem-spring-web already exists. Which also follows the Problem standard.

  • error-handling-spring-boot-starter

    Spring Boot starter for configurable REST API error handling

  • You can have a look at the unit test https://github.com/wimdeblauwe/error-handling-spring-boot-starter/blob/master/src/test/java/io/github/wimdeblauwe/errorhandlingspringbootstarter/handler/HttpMessageNotReadableApiExceptionHandlerTest.java#L37 It will return a response similar to this:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts