title: IllegalArgumentException on trying out 'Quickstart: Run a Gmail App in Java'
body: <p>I created a project using maven and followed the steps. But when i run the code i get the following error.</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException
      at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)
      at com.google.api.client.util.Preconditions.checkArgument(Preconditions.java:37)
      at com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets.getDetails(GoogleClientSecrets.java:80)
      at com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow$Builder.&lt;init&gt;(GoogleAuthorizationCodeFlow.java:195)
      at com.vertoanalytics.external.mailfetcher.GmailApiQuickstart.main(GmailApiQuickstart.java:41)
  </code></pre>
  
  <p>When I google it there are some ides about not having latest packges can cause this problem. Here is my meven dependency list related to the project</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.google.api-client&lt;/groupId&gt;
      &lt;artifactId&gt;google-api-client&lt;/artifactId&gt;
      &lt;version&gt;1.18.0-rc&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.google.oauth-client&lt;/groupId&gt;
      &lt;artifactId&gt;google-oauth-client&lt;/artifactId&gt;
      &lt;version&gt;1.19.0&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;com.google.apis&lt;/groupId&gt;
      &lt;artifactId&gt;google-api-services-gmail&lt;/artifactId&gt;
      &lt;version&gt;v1-rev7-1.19.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.google.http-client&lt;/groupId&gt;
      &lt;artifactId&gt;google-http-client-jackson&lt;/artifactId&gt;
      &lt;version&gt;1.18.0-rc&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>do i miss anything ?</p>