title: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap
body: <p>So while creating a new selenium java project and using the latest selenium version (3.141.59) form the website, i encountered the following exception:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap
  at org.openqa.selenium.remote.service.DriverService$Builder.&lt;init&gt;(DriverService.java:259)
  at org.openqa.selenium.chrome.ChromeDriverService$Builder.&lt;init&gt;(ChromeDriverService.java:101)
  at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:94)
  at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;(ChromeDriver.java:123)
  at test.src.main(src.java:11)
  
  Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableMap
  at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
  at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  ... 5 more
  </code></pre>