SmartGWT 2.2, FireFox 3.6.12
We are using NetBeans 6.9.1 with the GWT plugin, JUNIT 4.5 and GWT 2.0.4.
We're attempting to use GWT's JUNIT system to test our smartclient code but the system seems to be crashing on each test with the error message:
I've done some research and most forum posts state that this issue is caused by a conflict between two versions of NekoHTML however I've greped over our system and the only gargoyle packages I've found are in the GWT-user.jar.
Does Smartclient use NekoHTML or has anyone stumbled over this exception before? I can't find where there could be another version of Neko to conflict with the one in GWT-user.jar. Did anyone ever find that this problem has a different cause?
Thanks
We are using NetBeans 6.9.1 with the GWT plugin, JUNIT 4.5 and GWT 2.0.4.
We're attempting to use GWT's JUNIT system to test our smartclient code but the system seems to be crashing on each test with the error message:
Code:
Exception in thread "htmlUnit client thread" java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpClient.<init>(Lorg/apache/commons/httpclient/HttpConnectionManager;)V at com.gargoylesoftware.htmlunit.HttpWebConnection.createHttpClient(HttpWebConnection.java:394) at com.gargoylesoftware.htmlunit.HttpWebConnection.getHttpClient(HttpWebConnection.java:352) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:94) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1397) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1331) .....
Does Smartclient use NekoHTML or has anyone stumbled over this exception before? I can't find where there could be another version of Neko to conflict with the one in GWT-user.jar. Did anyone ever find that this problem has a different cause?
Thanks
Comment