A very simplest guess, did you import the package in your class file?
-----Original Message-----
From: John-Paul Delaney [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 5:05 PM
To: [email protected]
Subject: Newbie: Simple example doesn't compile
Hello List...
My first attempt with the tutorial class HttpClientTutorial class
doesn't compile. I've added the http client jar to the classpath but
get the following error when trying to compile:
HttpClientTutorial.java:26: cannot resolve symbol symbol : method
executeMethod (org.apache.commons.httpclient.HttpMethod)
location: class com.justatest.test.HttpClientTutorial
int statusCode = client.executeMethod(method);
^
1 error
Has anyone experienced this? Even explicitly adding the jarfile to the
classpath in the javac commandline doesn't help.
thanks for any suggestions
/j-p.
------------------------------------------------------------------------
---
Open Invitation for Contemporary Visual Artists.
http://www.artprocess.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]