Closed GoogleCodeExporter closed 9 years ago
This library depends on the Google HTTP Java Client library [1], and
UrlFetchTransport is defined there. You should be able to get all the dependent
libraries if you use Maven, or download the zip bundle from our Downloads page
[2].
For more instructions on dealing with dependencies, read up on
https://code.google.com/p/google-api-java-client/wiki/Setup
[1]
https://code.google.com/p/google-http-java-client/source/browse/google-http-clie
nt-appengine/src/main/java/com/google/api/client/extensions/appengine/http/UrlFe
tchTransport.java
[2] https://code.google.com/p/google-api-java-client/wiki/Downloads?tm=2
Original comment by wonder...@google.com
on 29 Dec 2014 at 10:33
Long time passed, but I believe I tried what you're suggesting, and it didn't
work. Because this library does not depend on
com.google.http-client:google-http-client-appengine:
http://repo1.maven.org/maven2/com/google/api-client/google-api-client/1.19.1/goo
gle-api-client-1.19.1.pom
Manually adding the dependency may be a workaround.
Original comment by dlaze...@gmail.com
on 29 Dec 2014 at 10:47
This library has 9 modules (separately packaged on Mavan), and one of them
(com.google.api-client:google-api-client-appengine) DOES depend on
com.google.http-client:google-http-client-appengine [1], as explained in [2].
As you are working on an AppEngine project, you should have
com.google.api-client:google-api-client-appengine,
com.google.oauth-client:google-oauth-client-appengine, and
com.google.http-client:google-http-client-appengine on your classpath. I don't
know how you are managing your dependencies, but if you are using Maven, it
will pull the required dependencies for you.
If you are building from source, make sure you check out the dependent
repositories first:
https://code.google.com/p/google-http-java-client/source/checkout and
https://code.google.com/p/google-oauth-java-client/source/checkout
[1]
https://repo1.maven.org/maven2/com/google/api-client/google-api-client-appengine
/1.19.1/google-api-client-appengine-1.19.1.pom
[2]
https://code.google.com/p/google-api-java-client/wiki/Setup#google-api-client-ap
pengine
Original comment by wonder...@google.com
on 29 Dec 2014 at 11:00
Ah, awesome, thanks!
Original comment by dlaze...@gmail.com
on 29 Dec 2014 at 11:02
Original issue reported on code.google.com by
dlaze...@gmail.com
on 28 Jul 2014 at 7:27