title: automatic login to gmail error occuring through firefox
body: <pre><code>import org.openqa.selenium.By;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  
  public class Login {
  
      public static void main(String[] args) {
  
         WebDriver driver=new FirefoxDriver();
         driver.get("https://www.mail.google.com");
         driver.findElement(By.id("Email")).sendKeys("abc@gmail.com");
         driver.findElement(By.id("Passwd")).sendKeys("xyz");
         driver.findElement(By.id("signIn")).click();
      }
   }
  </code></pre>
  
  <p>I am trying to write a program to login automatically into gmail.<br>
  I have tried everything
  please help!!!!</p>
  
  <p>This is giving me the error like this:</p>
  
  <blockquote>
    <p>Exception in thread "main"   java.lang.NoSuchMethodError:com.google.common.
        base.Platform.precomputeCharMatcher
        (Lcom/google/common/base/CharMatcher;)
        Lcom/google/common/base/CharMatcher;
            at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664)
            at com.google.common.base.CharMatcher.(CharMatcher.java:71)
            at com.google.common.base.Splitter.on(Splitter.java:127)
            at org.openqa.selenium.remote.http.JsonHttpCommandCodec.
               (JsonHttpCommandCodec.java:59)
            at org.openqa.selenium.remote.HttpCommandExecutor.
        (HttpCommandExecutor.java:85)
            at org.openqa.selenium.remote.HttpCommandExecutor.
        (HttpCommandExecutor.java:70)
            at org.openqa.selenium.remote.HttpCommandExecutor.
        (HttpCommandExecutor.java:58)
            at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.
        start(NewProfileExtensionConnection.java:87)
            at org.openqa.selenium.firefox.FirefoxDriver.startClient
        (FirefoxDriver.java:271)
            at org.openqa.selenium.remote.RemoteWebDriver.
        (RemoteWebDriver.java:119)
            at org.openqa.selenium.firefox.FirefoxDriver.
        (FirefoxDriver.java:218)
            at org.openqa.selenium.firefox.FirefoxDriver.
        (FirefoxDriver.java:211)
            at org.openqa.selenium.firefox.FirefoxDriver.
        (FirefoxDriver.java:207)
            at org.openqa.selenium.firefox.FirefoxDriver.
        (FirefoxDriver.java:120)
            at com.st.Login.main(Login.java:17)</p>
  </blockquote>