Skip to content

NoSuchMethodError in sendgrid-java-4.10.2 #757

Description

@nickhais

Hello SendGrid!

Issue Summary:

After upgrading to the newest version of sendgrid-java-4.10.2, I've started seeing these errors in my logs. My code fails when I try to execute mail.build().
Could you please check if the issue is on your side?

Errors found:

java.lang.NoSuchMethodError: 'void com.fasterxml.jackson.core.util.BufferRecycler.releaseToPool()' at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:4047) ~[jackson-databind-2.17.1.jar!/:2.17.1] at com.sendgrid.helpers.mail.Mail.build(Mail.java:517) ~[sendgrid-java-4.10.2.jar!/:na]

My environment:
Java 17 and Spring Boot 3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions