title: SendGrid: Cannot find symbol, class com.sendgrid.Email. Broke over weekend
body: <p>When building my project with Maven, it is given this error. It was working Friday and somehow broke over the weekend. There has been no code changes over the weekend.</p>
  
  <pre><code>mvn clean
  mvn compile
  
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Application: Compilation failure: Compilation failure:
  [ERROR] /C:/Users/chloe/workspace/Application/src/main/java/com/example/utils/SendGridAPI.java:[7,20] cannot find symbol
  [ERROR]   symbol:   class Email
  [ERROR]   location: package com.sendgrid
  </code></pre>
  
  <p>I have the following in my <code>pom.xml</code>.</p>
  
  <pre><code>        &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
              &lt;excludes&gt;
                &lt;exclude&gt;com/example/Tmp.java&lt;/exclude&gt;
              &lt;/excludes&gt;
            &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>    &lt;!-- SendGrid --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.sendgrid&lt;/groupId&gt;
        &lt;artifactId&gt;sendgrid-java&lt;/artifactId&gt;
        &lt;version&gt;[4.0.1,)&lt;/version&gt;&lt;!--$NO-MVN-MAN-VER$--&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Apache Maven 3.5.4</p>