[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: NoSuchMethodError when deployed in JBoss EAR
From:       "Michael Becke" <mbecke () gmail ! com>
Date:       2006-10-24 14:12:28
Message-ID: 78f7873e0610240712k230b72f3h863f6fb7d9073061 () mail ! gmail ! com
[Download RAW message or body]

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 <PORTER_J@wmgmail.wmg.warwick.ac.uk> 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:sebbaz@gmail.com]
> 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 <PORTER_J@wmgmail.wmg.warwick.ac.uk> 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:PORTER_J@wmgmail.wmg.warwick.ac.uk]
> > 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: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> httpclient-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic