Hello John-Paul, > This is where the exception occurs: > > int statusCode = client.executeMethod(method); > > > and this is the exception message: > > 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);
This message looks somehow wrong. I would expect a message that the symbol can not be found "in class o.a.c.h.HttpClient" rather than locally. Check the version of HttpClient you're using, make sure it is 3.0.x or 3.1-RC1. Make sure that there is only one version of HttpClient among the classes available to the compiler. Make sure all dependencies for HttpClient are in the classpath. > I thought it was the usual jar not in the classpath problem Then the compiler would have complained about the import statement. good luck, Roland
smime.p7s
Description: S/MIME Cryptographic Signature
