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

With this code:
        String targetURL = "http://crevoscope.com/firstpage2.php";;
        ...snip...
        PostMethod login = new PostMethod(targetURL);
        //add to post
        NameValuePair[] data = {
          new NameValuePair("username", username),
          new NameValuePair("password", pass)
        };
        login.setRequestBody(data);

I can't create the object, any help would be appreciated.

Jerome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHEZNGC9PPyzQCv80RAhV0AJ4koVYg3LAAQeEOUh1qVxBR4B0WewCfc9kb
OnD49gBELuqxudybj6WWnEo=
=ZpP+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to