Introducing our new Java Spring Error Monitoring SDK

July 20th, 2020 • By Vijay Selvaraj and Mehak Garg

We’re excited to announce that we’ve strengthened our solution for Java Spring exception handling. Spring developers can now integrate Rollbar into their Java Spring Boot and Spring Web MVC applications even more quickly and easily. With our new SDK, instrumentation and getting real-time actionable error alerts takes just a few minutes.

Spring has consistently been one of the most popular Java frameworks and we want to make sure we’re consistently offering the best possible solution for it.

Get Real-time Error Alerts with Code Context

Nobody likes to find out about errors from end users. For those unfamiliar with Rollbar, you can get real-time notifications of all errors with code context and metadata before your users get impacted. With telemetry, local variables, stack traces, and git blame all available at a click, debugging Spring errors can be a lot faster and easier.

Here you can see the exact line of code that caused the error along with the avatar of the last person to edit that line of code –

Notable Improvements

How to Configure Rollbar for Java Spring

The configuration process takes just a couple of steps –

Grab the SDK by adding the following to your Gradle dependency


Configure Rollbar with your access token

public Rollbar rollbar() {
    return new Rollbar(RollbarSpringConfigBuilder

Try it Now

You can check out our docs to learn more and start using Rollbar to monitor and debug your Spring applications. As always, we would love to hear any feedback you might have for us.

This content was originally published here.