I am running selenium test in maven project.This project is GWT Web application.There are GWT dependencies,hibernate dependencies in pom.xml.I have created a new class in te
A NoSuchMethodError indicates that classes available at runtime are different to those used to compile your code.
It usually boils down to having multiple versions of the same class on the classpath. Double check this for the class in question and remove the unwanted version.
[EDIT] Add this to your pom.xml to control the version of httpclient:
org.apache.httpcomponents
httpclient
[4.2.1]