我试图在eclipse中运行以下代码: -
HtmlUnitDriver unitDriver = new HtmlUnitDriver(BrowserVersion.CHROME);
// open google.com webpage
unitDriver.get("http://google.com");
System.out.println("Title of the page is -> " + unitDriver.getTitle());
显示错误: -
java.lang.NoSuchMethodError: org.apache.commons.lang3.StringUtils.equalsIgnoreCase(Ljava /郎/ CharSequence中; Ljava /郎/ CharSequence中;)z
请建议如何在无头浏览器上运行脚本?