Where do I put META-INF in Eclipse?
It shouldn’t be at the project root, but directly under the source folder. At runtime, the persistence.xml file is searched in the classpath, under META-INF. So if you want the META-INF folder to be put at the top of the compiled package tree, you need to put it at the top of the source tree. … Read more