From: Mike B. <mb...@Ga...> - 2002-08-03 13:56:29
|
Hi Kathleen, > What am I doing wrong? I even tried version 1.0, but does not work also. I assume that you tried 1.1-pre3 in addition to 1.0 - is this correct? You had the same behaviour for both? I've never seen this problem before and your sample code looks fine - I'm wondering if it's a configuration issue. What does your classpath look like? Do you have another version of httpclient in your classpath? Are all the neccessary jars there? For 1.0, you need Tidy,jar and commons-httpclient.jar in addition to HtmlUnit.jar. For 1.1-pre3 you need those and commons-logging.jar. Can you post your classpath here? Also what version of JDK are you using? HtmlUnit has been developed on 1.3 and it's possible that it's using an API that isn't available in an earlier VM. If that's the case then we can see if there is an alternative API that is available. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |