You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stefan Schuster <ss...@pironet-ndh.com> on 2005/09/20 12:29:03 UTC

CommonsHttpSender

Hi,

I am trying to use the CommonsHttpSender, but I cannot determine which
version of HtttClient to use. With 2.0 it complains about missing 
classes, with
3RC3 I get:


java.lang.NoSuchMethodError: org.apache.commons.httpclient.MultiThreadedHttpConn
ectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionMan
agerParams;
        at org.apache.axis.transport.http.CommonsHTTPSender.initialize(CommonsHT
TPSender.java:95)
        at org.apache.axis.transport.http.CommonsHTTPSender.<init>(CommonsHTTPSe
nder.java:89)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

Thank you for any suggestion,

best regards,

Stefan


Re: CommonsHttpSender

Posted by Nicolas De Loof <ni...@capgemini.com>.
I'm using Axis 1.2.1 with CommonsHttpSender using commons-Httpclient 
3.0-rc3.

I didn't get this exception. Check that you don't have muliple versions 
of httpclient in classpath.

Nico.

Stefan Schuster a écrit :

> Hi,
>
> I am trying to use the CommonsHttpSender, but I cannot determine which
> version of HtttClient to use. With 2.0 it complains about missing 
> classes, with
> 3RC3 I get:
>
>
> java.lang.NoSuchMethodError: 
> org.apache.commons.httpclient.MultiThreadedHttpConn
> ectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionMan 
>
> agerParams;
>        at 
> org.apache.axis.transport.http.CommonsHTTPSender.initialize(CommonsHT
> TPSender.java:95)
>        at 
> org.apache.axis.transport.http.CommonsHTTPSender.<init>(CommonsHTTPSe
> nder.java:89)
>        at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> Thank you for any suggestion,
>
> best regards,
>
> Stefan
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.