NoSuchMethodError SimpleTimeLimiter Error while invoking Chromedriver in ReadyAPI Groovy
Hi,
I am trying to invoke chromedriver from readyapi using groovy. But I am stuck.
My code:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
System.setProperty("webdriver.chrome.driver", "ext/ChromeDriver.exe");
def driver = new ChromeDriver();
Error message:
java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; error at line: 6
Libraries in bin/ext folder are:
byte-buddy-1.7.5.jar
client-combined-3.8.1.jar
client-combined-3.8.1-sources.jar
commons-codec-1.10.jar
commons-exec-1.3.jar
commons-logging-1.2.jar
gson-2.8.2.jar
httpclient-4.5.3.jar
httpcore-4.4.6.jar
chromedriver.exe
postgresql-9.3-1102.jdbc41.jar
readme.txt
sqljdbc42.jar
guava.jar
Please suggest