Thanks for all your help! It works now, I looked up the page you suggested and turns out I still needed commons-codec, httpcore, commons-httpclient-3.1, and http-client-4.1-alpha1. Thanks again.
sebb-2-2 wrote: > > On 07/03/2010, HughT <[email protected]> wrote: >> >> Hello, >> >> I'm new to Apache and I'm trying to use HttpClient in Java, but just >> can't >> seem to be able to get the right jar file for some reason. I keep >> getting an >> error that the package org.apache.commons.httpclient does not exist. I >> downloaded almost every related jar file I could find, but it is still >> not >> working. These are the jar files I have so far: >> >> commons-email-1.2 >> httpclient-4.0.1 >> httpmime-4.0.1 > > You also need > > commons-codec > httpcore > > see: > > http://hc.apache.org/httpcomponents-client/httpclient/dependencies.html > >> activation >> dsn >> imap >> mailapi >> pop3 >> smtp >> mail >> commons-email-javadoc/sources >> commons-logging-... >> commons-collections-... >> commons-net-2.0-... >> jakarta-oro-2.0 >> >> I'm sure many of these are absolutely useless, but I was growing >> desperate. >> I just need to import org.apache.commons.httpclient.* into Java. If >> someone >> could please let me know what exactly it is I need to download, jar file >> or >> other, I would be extremely grateful! > > Check the dependency details on the websites. > >> Hugh >> >> -- >> View this message in context: >> http://old.nabble.com/Error-using-import-org.apache.commons.httpclient.*-tp27809614p27809614.html >> Sent from the HttpClient-User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Error-using-import-org.apache.commons.httpclient.*-tp27809614p27811609.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
