The file is named persistence.xml
and not persistences.xml as you did.
It has to be placed in the META-INF folder. Make sure that this folder is included in your WEB-INF folder.
From the The Java EE 6 Tutorial:
If you package the persistence unit as a set of classes in a WAR file, persistence.xml should be located in the WAR file’s WEB-INF/classes/META-INF directory.
If you package the persistence unit in a JAR file that will be included in a WAR or EAR file, the JAR file should be located in either
- The WEB-INF/lib directory of a WAR
- The EAR file’s library directory