Hi we have a project build on richfaces 4.0.0. Iam trying to upgrade Jquery from 1.5.1 to 3.7.0. After upgrading Jquery, I upgraded htmlunit and htmlunit-core-js to 2.67.0 from 2.17 . But still my tests are failing with error
java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.WebRequest.getCharset()Ljava/lang/String;
at org.jboss.test.faces.htmlunit.LocalWebConnection.getResponse(LocalWebConnection.java:52)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1597)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1519)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:498)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:413)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:551)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:533)
at org.jboss.test.faces.htmlunit.HtmlUnitEnvironment.getPage(HtmlUnitEnvironment.java:90)
Which means the htmlunit-client which iam using is not compatible with htmlunit and html-core-js.
org.jboss.test-jsf htmlunit-client 1.1.5 net.sourceforge.htmlunit htmlunit 2.67.0 net.sourceforge.htmlunit htmlunit-core-js 2.67.0
Could you please let me know how to solve this?