sendgrid-java icon indicating copy to clipboard operation
sendgrid-java copied to clipboard

NoSuchMethodError in sendgrid-java-4.10.2

Open nickhais opened this issue 1 year ago • 0 comments

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

nickhais avatar Jun 26 '24 11:06 nickhais