Very likely you have multiple versions of HttpClient on the classpath.
I'm guessing one of them pre-3.0.

Mike

On 10/24/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote:
I was including all the libaraies for BIRT.

Class-Path: lib/commons-httpclient-3.0.jar lib/axis.jar
lib/com.ibm.icu_3.4.4.1.jar lib/commons-cli-1.0.jar
lib/commons-codec-1.3.jar lib/commons-discovery-0.2.jar lib/coreapi.jar
lib/dataadapterapi.jar lib/dteapi.jar lib/engineapi.jar lib/flute.jar
lib/jaxrpc.jar lib/js.jar lib/modelapi.jar ETC ETC

I suspect on of them is causing the problem. I've now remove a few that
I don't think I need. Guess I'll find out later when I come to use them
though.

Jeff porter


-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: 24 October 2006 14:13
To: HttpClient User Discussion
Subject: Re: NoSuchMethodError when deployed in JBoss EAR

See: http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html

Manifests allow continuation lines.

Values can be up to 65535 bytes long.

S.
On 24/10/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote:
> It seems to be something to do with the MANIFEST.MF file's Class-path
> being rather long.
>
> Guess its time to start compacting a few JAR's together.
>
> Jeff porter
>
>
>
> -----Original Message-----
> From: Jeffrey Porter [mailto:[EMAIL PROTECTED]
> Sent: 24 October 2006 13:12
> To: HttpClient User Discussion
> Subject: NoSuchMethodError when deployed in JBoss EAR
>
>
>
> I get the following exception when deploying HTTP client in an EAR in
> JBoss.
>
>
>
> Anyone got any suggestions?
>
>
>
> java.lang.NoSuchMethodError:
>
org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/
> httpclient/params/HttpClientParams;
>
>        at
> com.jeff.ConnectionController.setup(ConnectionController.java:153)
>
>
>
>
>
> jeff porter
>
>
> ---------------------------------------------------------------------
> 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]

---------------------------------------------------------------------
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