I am using the JDK 1.8
and Twilio 8.17.0
and HttpClient 4.5.12
and I am still experiencing the same issue. Please help me.
Exception in thread "Thread-3" java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultRedirectStrategy.([Ljava/lang/String;)V
If you look at the Javadoc for that constructor ( https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/client/DefaultRedirectStrategy.html#DefaultRedirectStrategy(java.lang.String[]) ) it says Since 4.5.10
.
While you compiled against 4.5.12, I suspect that you are running with a different version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.