On 10/14/07, Jerome Hollon <[EMAIL PROTECTED]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I get this error when creating a PostMethod object:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
>         at
> org.apache.commons.httpclient.HttpMethodBase.<clinit>(HttpMethodBase.java
> :104)
>         at crevoscope.Main.main(Main.java:42)
>


httpclient requires commons-logging and commons-codec.

Please see here
http://jakarta.apache.org/httpcomponents/httpclient-3.x/dependencies.html

So you will have to download commons-codec and commons-logging from the
respective project sites.

http://commons.apache.org/codec/
http://commons.apache.org/logging/


-- 
Puneet
http://sahyog.blogspot.com/

Reply via email to