java.lang.NoClassDefFoundError

org/apache/http/ssl/SSLContexts at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966) at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58) at com.sendgrid.Client.<init>(Client.java:55) at com.sendgrid.SendGrid.<init>(SendGrid.java:29)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Harikrishnan via StackOverflow,
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:966) at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58) at com.sendgrid.Client.<init>(Client.java:55) at com.sendgrid.SendGrid.<init>(SendGrid.java:29) at com.fms.advocacy.AdvocacyMail.send(AdvocacyMail.java:40) at com.fms.advocacy.AdvocacyMail.send(AdvocacyMail.java:36) at com.fms.advocacy.AdvocacyMail.send(AdvocacyMail.java:32)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.