Hi Group,
I have a problem. I want to make a HTTP Post request using Apache
HttpClient. In the development environment everything works fine. But
in the production environment I get the following exception:
Uncaught exception from servlet
java.lang.NoClassDefFoundError: javax.net.ssl.HttpsURLConnection is a
restricted class. Please see the Google App Engine developer's guide
for more details.
at javax.net.ssl.HttpsURLConnection.<clinit>(HttpsURLConnection.java)
at
org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:
255)
at
org.apache.http.conn.ssl.SSLSocketFactory.<clinit>(SSLSocketFactory.java:
166)
at
org.apache.http.impl.client.DefaultHttpClient.createClientConnectionManager(DefaultHttpClient.java:
219)
at
org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:
312)
at
org.apache.http.impl.client.DefaultHttpClient.createHttpContext(DefaultHttpClient.java:
254)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
618)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
576)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
554)
The problem is, that I'm not trying to use SSL. It is a very normal
HTTP request (in fact I try uploading a photo to Flickr). Does anyone
know how to get rid of this problem?
Thank you,
Moritz
--
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.