hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anadhundale <ana.dhund...@gmail.com>
Subject Re: Problems in using FormLogin using HTTPClient
Date Thu, 19 Mar 2009 13:18:21 GMT

Hi,
    Thanks for replaying, I have checked  all dependent libraries are on the
class path.I don't where i am doing wrong.


Make sure to put all dependent libraries on the class path.

Oleg 



olegk wrote:
> 
> On Thu, 2009-03-19 at 00:24 -0700, anadhundale wrote:
>> Hi,
>> 
>> I am getting following error while running ClientFormLogin class given in
>> sample code of Httpclient
>> 
>> 
>> Exception in thread "main" java.lang.NoSuchMethodError:
>> org.apache.http.protocol.BasicHttpContext: method <init>()V not found
>> 	at
>> org.apache.http.impl.client.DefaultHttpClient.createHttpContext(DefaultHttpClient.java:200)
>> 	at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:532)
>> 	at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
>> 	at
>> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
>> 	at examples.ClientFormLogin.main(ClientFormLogin.java:60)
>> 
>> 
>> help me please
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-in-using-FormLogin-using-HTTPClient-tp22594857p22599983.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message