title: Eclipse error ... cannot be resolved to a type
body: <p>I have a dynamic web project that I am working on to migrate a jsp/servlet app from JRun to Tomcat.</p>
  
  <p>I am getting the error:  <code>com.ibm.ivj.eab.dab.DatastoreJDBC</code> cannot be resolved to a type.</p>
  
  <p>I have the <code>*.class</code> files sitting inside a <code>com/ibm/ivj/eab/dab</code> folder (exactly how I found them).  I have tried creating a jar file and adding that to the build path via "Add External Jar", I have also tried adding an "External Class Folder" and pointing to the folder that contains the "com" directory in question.</p>
  
  <p>Still, the error persists.  What is strange is if I start typing the package name eclipse actually auto-completes the class for me!  (pictured below).  Any ideas would be greatly appreciated.  Maybe the classes were compiled for a much older java version and that is causing trouble?  Maybe there is something I need to do to ensure the classes end up in the WEB-INF/lib directory? </p>
  
  <p>I<img src="https://i.stack.imgur.com/6CXHX.png" alt="enter image description here"></p>