title: NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
body: <p>Getting the following error:</p>
  
  <pre><code>java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
  </code></pre>
  
  <p>when running</p>
  
  <pre><code>System.setProperty("webdriver.chrome.driver", "/ocs/browserDrivers/chromedriver.exe");
  //ChromeOptions chromeOptions = new ChromeOptions();
  //chromeOptions.addArguments("start-maximized");
  driver = new ChromeDriver();
  </code></pre>
  
  <p>Upgraded to selenium 3.14 and chromedriver 2.42.Not a maven project</p>
  
  <p><a href="https://i.stack.imgur.com/ozl2d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ozl2d.png" alt="enter image description here"></a></p>