title: Selenium java.lang.NoSuchMethodError in starting the driver
body: <p>I have tried the code below to open a chrome webdriver and then open google.com using it:</p>
  
  <pre><code>import java.io.File;
  
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  
   public class Hook{
  
    private WebDriver driver;
  
    public void testInitializer(){
      File file = new 
          File(Application.class.getClassLoader()
                  .getResource("driver/chromedriver.exe").getFile());
      String driverPath=file.getAbsolutePath();
      System.out.println("Webdriver is in path: "+driverPath);
      System.setProperty("webdriver.chrome.driver",driverPath);
      driver=new ChromeDriver();
  }
  
   public Hook() {
  
       testInitializer();
       driver.get("https://www.google.com/");
   }
  
  } 
  </code></pre>
  
  <p>But it complains in the line:</p>
  
  <pre><code>driver=new ChromeDriver();
  </code></pre>
  
  <p>with the following errors:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;
      at org.openqa.selenium.net.UrlChecker.&lt;init&gt;(UrlChecker.java:62)
      at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:187)
      at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:178)
      at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:79)
      at org.openqa.selenium.remote.RemoteWebDriver.execute
      at org.openqa.selenium.remote.RemoteWebDriver.startSession
      at org.openqa.selenium.remote.RemoteWebDriver.&lt;init&gt;(RemoteWebDriver.java:142)
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;
      at com.example.demo.Hook.testInitializer(Hook.java:20)
  </code></pre>
  
  <p>And here is the complete dependencies:</p>
  
  <pre><code>&lt;dependency&gt;
                  &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
                  &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
                  &lt;version&gt;3.4.0&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;info.cukes&lt;/groupId&gt;
                  &lt;artifactId&gt;cucumber-java&lt;/artifactId&gt;
                  &lt;version&gt;1.2.5&lt;/version&gt;
              &lt;/dependency&gt;
  </code></pre>
  
  <p>I am wondering, what is wrong with my code?</p>