I am using JPA for a java class and having trouble putting the persistence XML file where it should be.
The IDE i am using is Eclipse Helios. Eclipselink jar files are downloaded and added to my JRE System Library and all. I wrote up the persistence.xml with the tag after getting the following error :
Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named customers
Provider tag:
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
The program still doesn't run so i am wondering where should I place persistence.xml (i.e src/main/resources, or lib/META-INF... etc )