title: Missing .classpath file in Eclipse project
body: <p>I have recently returned to a project after not using it for a couple of weeks.  The project was not created in Eclipse it was imported, and there is no '.classpath' file in the project workspace.</p>
  
  <p>I am sure that previously I successfully added new .jar files by simply right clicking them and going to 'Add to build path', but thanks to an unrelated error I had to re-add the files to the build path, and now whenever I try to add a new .jar file I get the following error:</p>
  
  <pre><code>Error while adding a library
  
  Reason:
  Could not write file C:\Users\Charles\workspace\hive\.classpath
  </code></pre>
  
  <p>Or, if I try to add a file using Configure build path, I get the following error:</p>
  
  <pre><code>'Setting build path' has encountered a problem.
  
  Could not write file:
  C:\Users\Charles\workspace\hive\.classpath
  </code></pre>
  
  <p>I have earlier versions of this project prior to adding .jar files, and there is no .classpath file for any of them either, so I haven't accidentally deleted it at any point.</p>
  
  <p>If anyone can help me out at all, I'd be ever so grateful (I desperately need to add these .jar files so I can do some actual work).</p>
  
  <p>The thing that annoys me the most is I'm sure it worked before, but I have tried to do the same in earlier versions of the project and I am always getting the same error now.</p>