Unselect Google App Engine from the eclipse preferences to get it working. You cannot use HttpClient with Google App Engine.
--Sri http://blog.530geeks.com On 22 March 2010 21:05, Jon Britton <[email protected]>wrote: > Hi, > > I'm trying to build a server for forwarding HTTP Get requests from my > GWT client to remote servers. I'm trying to use the Apache HttpClient > stuff which is in gwt-dev.jar. However, when I call my servlet I get > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > 'public abstract uk.ac.glam.wps.gwtwps.client.ProcessDescriptor[] > > uk.ac.glam.wps.gwtwps.client.OWSRequestService.wpsGetCapabilities(java.lang.String)' > threw an unexpected exception: java.lang.NoClassDefFoundError: org/ > apache/commons/httpclient/HttpClient > > I've found other posts reporting this issue, but can't seem to find a > solution. I tried downloading HttpClient from > http://hc.apache.org/downloads.cgi > and adding it to my build path and also putting it in WEB-INF/lib but > I still get the same errors! > > How can I get HttpClient working? > > Cheers, > > Jon > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
