title: No Persistence provider for EntityManager named EmpDb
body: <p>I'm getting this error:</p>
  
  <p>Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for     EntityManager named EmployeeDb
          at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:85)
          at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
          at staffManagement.test.TestHarness.main(TestHarness.java:14)</p>
  
  <p>But I just can't understand why - I did the identical thing on my home pc and had no issues.  Here is my code for my test file:</p>
  
  <pre><code>public class TestHarness {
  
  public static void main(String[] args) {
      EntityManagerFactory emf = Persistence.createEntityManagerFactory("EmpDb");
      EntityManager em = emf.createEntityManager();
      EntityTransaction tx = em.getTransaction();
      tx.begin();
  
      Employee employee1 = new Employee("Brad", "Pitt", "Actor", 10000);
      em.persist(employee1);
  
      tx.commit();
      em.close();
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and my persistence.xml file:</p>
  
  <pre><code>&lt;persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
  http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
  version="2.0"
  xmlns="http://java.sun.com/xml/ns/persistence"&gt;
  
    &lt;persistence-unit name="EmpDb"   transaction-type="RESOURCE_LOCAL"&gt;
  
    &lt;class&gt;staffManagement.domain.Employee&lt;/class&gt;
  
    &lt;properties&gt;                    
          &lt;property name="javax.persistence.jdbc.driver"   value="org.apache.derby.jdbc.ClientDriver" /&gt;
          &lt;property name="javax.persistence.jdbc.url"      value="jdbc:derby://localhost:1527/DbName" /&gt;
  
          &lt;property name="javax.persistence.jdbc.user"     value="APP" /&gt;
          &lt;property name="javax.persistence.jdbc.password" value="APP" /&gt;
  
          &lt;property name="eclipselink.logging.level"              value="FINE" /&gt; 
          &lt;property name="eclipselink.ddl-generation"             value="create-tables" /&gt;
          &lt;property name="eclipselink.ddl-generation.output-mode" value="database" /&gt;
     &lt;/properties&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>Please help me! I'm ripping my hair out. I'm using Eclipse and Derby db. I have the persistence.xml file in the meta-inf folder.</p>