java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Sample code from the doc don't work
    via GitHub by Driox
    ,
    • java.lang.NoSuchMethodError: org.apache.http.client.methods.RequestBuilder.setCharset(Ljava
    • io/charset/Charset;)Lorg/apache/http/client/methods/RequestBuilder; at com.twilio.http.NetworkHttpClient.makeRequest(NetworkHttpClient.java:64) at com.twilio.http.HttpClient.reliableRequest(HttpClient.java:38) at com.twilio.http.HttpClient.reliableRequest(HttpClient.java:22) at com.twilio.http.TwilioRestClient.request(TwilioRestClient.java:42) at com.twilio.rest.api.v2010.account.MessageCreator.execute(MessageCreator.java:307) at com.twilio.rest.api.v2010.account.MessageCreator.execute(MessageCreator.java:25) at com.twilio.base.Creator.execute(Creator.java:45) at services.twilio.TwilioService.sendMessageUnsafe(TwilioService.java:35) at services.twilio.TwilioService.sendMessage(TwilioService.java:17) at controllers.Application.test(Application.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:527) at play.mvc.ActionInvoker.invoke(ActionInvoker.java:478) at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:454) at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:449) at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161) at play.server.PlayHandler$NettyInvocation.execute(PlayHandler.java:326) at play.Invoker$Invocation$1.apply(Invoker.java:290) at play.Invoker$Invocation$1.apply(Invoker.java:287) at play.db.jpa.JPA.withTransaction(JPA.java:258) at play.db.jpa.JPA.withinFilter(JPA.java:217) at play.db.jpa.JPAPlugin$TransactionalFilter.withinFilter(JPAPlugin.java:299) at play.Invoker$Invocation.withinFilter(Invoker.java:271) at play.Invoker$Invocation.run(Invoker.java:287) at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:303) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,