commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Charles Huey" <stephenh...@fastmail.fm>
Subject Re: 3.0 beta 1 can't find DecoderException
Date Tue, 28 Dec 2004 10:10:30 GMT
Whoops...sorry, it's late here!  Yeah, I was thinking that codec must be
within the HttpClient JAR...


----- Original message -----
From: "Arto Pastinen" <arto.pastinen@ofw.fi>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Date: Tue, 28 Dec 2004 12:01:28 +0200
Subject: Re: 3.0 beta 1 can't find DecoderException

Hi!

Can't you add commons-codec to your classpath?

Artsi

On Tue, 2004-12-28 at 11:54, Stephen Charles Huey wrote:
> I have the 3.0 beta 1 HttpClient JAR in my classpath, and I get to a
> point in my code where I execute a GET method on my site, but it gives
> me this:
> 
> java.lang.NoClassDefFoundError:
> org/apache/commons/codec/DecoderException
>   at
>   org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:217)
>   at
>   org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88)
>   at BasicConnect.main(BasicConnect.java:27)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
> 
> 
> I extracted the JAR, and I can't see any directory for codec...am I
> supposed to download something else with it?  I have commons logging...
> 
> Thanks,
> Stephen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


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


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


Mime
View raw message