I keep getting the error:
"The import org.apache.commons.httpclient cannot be resolved"
and don't know how to resolve it. Help would be much appreciated, as I am clearly missing something stupid.
Here is what I have done so far:
-- Downloaded the httpcomponents-client-4.0-bin-with-dependencies from Jakarta / Apache, extracted it and put the JAR's into /jre/lib/ext
... So it should find it, right? (It is accessing the correct JRE, as found in Eclipse->Preferences->
Java ... )
-- Added them to the build path (Properties -> Build path -> Add external Jars)
-- Followed advice on this page:
http://blog.sherifmansour.com/?p=207,
.... including Clean, removing and re-adding them, F5 to refresh. When I remove then, Eclipse changes the length of the wiggly red line under them, so it is clearly finding something.
But I keep getting the "cannot be resolved" error for these imports:
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.httpclient.params.HttpMethodParams;
Any help would be GREATLY appreciated, as the next step is to beat my head with a stick.
//