title: Import Jar file into eclipse fails - cannot be resolved to a type
body: <p>I imported some JARs successfully into my eclipse java project. I get "cannot be resolved to a type" error when I try to use the classes in those JAR files in my code.</p>
  
  <p>Now I have to either use eclipse's auto help feature or type the import statements manually to kill the errors and use those classes. </p>
  
  <p>How do i stop getting the errors and remove the need to import manually all the time.
  Eclipse never asks me to import Java.Lang.String. So, how do i ensure that it does the same thing for any other class ?</p>