encodeBase64String - NoSuchMethodError #30
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
From artgr...@googlemail.com on March 25, 2012 04:39:08
Version of google-oauth-java-client (e.g. 1.5.0-beta)? 1.7 Java environment (e.g. Java 6, Android 2.3, App Engine)? Java 6, AppEngine,
Exception when trying to get a new AccessToken with a RefreshToken:
RefreshTokenRequest req = new RefreshTokenRequest(...);
TokenResponse response = req.execute(); throws the following Exception:
java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;
at com.google.api.client.http.HttpHeaders.setBasicAuthentication(HttpHeaders.java:590) How would you expect it to be fixed? Refactor the HttpHeaders class, include commons-codec.1.6.jar(this library has the encodeBase64String Method).
I have included this jar to my project, but with no effect!
Please fix this, its a major blocker for my project.
Cheers,
Arthur
Original issue: http://code.google.com/p/google-oauth-java-client/issues/detail?id=30
The text was updated successfully, but these errors were encountered: