curl icon indicating copy to clipboard operation
curl copied to clipboard

java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64

Open meliezer opened this issue 5 years ago • 2 comments

Describe the bug Exception right after calling curl.

Stacktrace Caused by: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.(I)V at org.apache.http.impl.auth.BasicScheme.authenticate (BasicScheme.java:166) at org.apache.http.impl.auth.HttpAuthenticator.doAuth (HttpAuthenticator.java:233) at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse (HttpAuthenticator.java:198) at org.apache.http.impl.execchain.MainClientExec.execute (MainClientExec.java:262) at org.apache.http.impl.execchain.ProtocolExec.execute (ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute (RetryExec.java:89) at org.apache.http.impl.client.InternalHttpClient.doExecute (InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:108) at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:56) at org.toilelibre.libe.curl.Curl.curl (Curl.java:72) at org.toilelibre.libe.curl.Curl.curl (Curl.java:61)

meliezer avatar Nov 29 '19 10:11 meliezer

Hello and thank you for this feedback.

I will find some time for investigation.

In the meantime can you add the commons-codec dependency to your project ?

https://commons.apache.org/proper/commons-codec

Thanks and good luck

I will reply in this thread.

libetl avatar Nov 29 '19 19:11 libetl

Thank you! I forgot to write that I've already added it. I also added Apache libs : HttpClient and commons-cli.

meliezer avatar Nov 29 '19 20:11 meliezer