On Thu, 2009-03-19 at 06:18 -0700, anadhundale wrote:
> Hi,
>     Thanks for replaying, I have checked  all dependent libraries are on the
> class path.I don't where i am doing wrong.
> 

Most likely you also have an older version of HttpCore on the class
path, probably from Axis2.

Oleg


> 
> 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: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> > 
> > 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to