title: java.lang.annotation cannot be resolved
body: <p>I recently changed the package of a project in Eclipse, and doing this appears to have caused problems with the build path.</p>
  <p>I have an annotation called PlaceholderDocumentation, seen below</p>
  <pre class="lang-java prettyprint-override"><code>package com.projectjhs.forum.api.placeholders;
  
  import static java.lang.annotation.ElementType.TYPE;
  
  import java.lang.annotation.Documented;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  import java.lang.annotation.Target;
  
  @Documented
  @Target(TYPE)
  @Retention(RetentionPolicy.RUNTIME)
  public @interface PlaceholderDocumentation {
      String name();
  
      String description();
  }
  </code></pre>
  <p>The import <code>import static java.lang.annotation.ElementType.TYPE</code> gives me the error <code>The import java.lang.annotation.ElementType cannot be resolved</code>. I also have an error in the Problems list that says</p>
  <pre><code>The project was not built since its build path is incomplete. Cannot find the class file for java.lang.annotation.ElementType. Fix the build path then try building this project
  </code></pre>
  <p>I haven't been able to find anything related to this issue anywhere else.</p>
  <p>Thank you for reading this.</p>