Hi all, I'm trying to do some simple fetching of rest services with
RestTemplate. Everything seems to work in my unit tests, spring is
configured to use java.net as the underlying HttpConnection client
which according to the appengine docs is fine. When I try to run this
in my development environment locally (Eclipse, App Engine SDK 1.5.5)
I get the following error:
FINEST: Publishing event in Root WebApplicationContext:
ServletRequestHandledEvent: url=[/s/init]; client=[127.0.0.1];
method=[GET]; servlet=[spring-handler]; session=[null]; user=[null];
time=[7834ms]; status=[failed: java.lang.ClassCastException:
com.google.appengine.repackaged.org.apache.http.message.BasicHttpRequest
cannot be cast to
com.google.appengine.repackaged.org.apache.http.client.methods.HttpUriRequest]
Nov 17, 2011 8:50:32 PM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: /s/init
java.lang.ClassCastException:
com.google.appengine.repackaged.org.apache.http.message.BasicHttpRequest
cannot be cast to
com.google.appengine.repackaged.org.apache.http.client.methods.HttpUriRequest
at com.google.appengine.api.urlfetch.dev.LocalURLFetchService
$7.run(LocalURLFetchService.java:427)
at com.google.appengine.api.urlfetch.dev.LocalURLFetchService
$7.run(LocalURLFetchService.java:409)
Any thoughts?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.