createRequestFactory with google-api-java-client-1.15.0-rc
I'm also running the same problem here. So far I have solved the json dependencies adding the following library:
<dependency> <groupId>com.google.http-client</groupId> <artifactId>google-http-client-jackson</artifactId> <version>1.15.0-rc</version></dependency>
and replacing:
JsonHttpParser parser = new JsonHttpParser(new JacksonFactory());request.addParser(parser);
with:
JsonObjectParser parser = new JsonObjectParser(new JacksonFactory());request.setParser(parser);
I'll let you know how to solve the GoogleHeaders dependency as soon as I solve it myself.
EDIT: It looks like they removed this class in release 1.14 (see this issue) in favor of HttpHeader. Change GoogleHeaders with HttpHeader and replace setApplicationName with setUserAgent, like below:
HttpHeaders headers = new HttpHeaders();headers.setUserAgent("AndroidHive-Places-Test");