title: Why my imports are not recognized
body: <p>Using EClipse, First: I created a Dynamic Web Project and copied soem JAR files ( Jersey Jar files ) to WebContent\WEB-INF\lib folder of that project.  </p>
  
  <p><img src="https://i.stack.imgur.com/CLDp9.png" alt="enter image description here"></p>
  
  <p>Then I created a new class and on top of it I used some imports such as these:</p>
  
  <pre><code>import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.MediaType;
  </code></pre>
  
  <p>but it shows some red X errors next to all of them saying the import cannot be resolved.</p>
  
  <p>That's ALL I have done. Is there any other settings I should do to fix these errors? </p>