commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arto Pastinen <arto.pasti...@ofw.fi>
Subject Re: 3.0 beta 1 can't find DecoderException
Date Tue, 28 Dec 2004 10:01:28 GMT
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


Mime
View raw message