I have my persistence.xml with the same name using TopLink under the META-INF directory. Then, I have my code calling it with:
persistence.xml
TopLink
META-INF
Verify the peristent unit name
public static final String PERSISTENCE_UNIT_NAME = "com.myapp.model.jpa"; Persistence.createEntityManagerFactory(**PERSISTENCE_UNIT_NAME**);