Hallo zusammen,
ich habe eine Google App Engine Anwendung und bekomme aktuell folgenden Fehler:
javax.persistence.PersistenceException: No Persistence provider for EntityManager named transactions-optional
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:69)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
at de.server.dao.EMFService.(EMFService.java:9)
at de.server.dao.GenericDaoImpl.(GenericDaoImpl.java:16)
at de.server.dao.ProfilProvider.(ProfilProvider.java:5)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Die Persistence.xml sieht folgendermaßen aus:
<?xml version="1.0" encoding="UTF-8" ?> org.datanucleus.store.appengine.jpa.DatastorePersistenceProviderDas Projekt ist mit Maven aufgesetzt und hat folgende Struktur:
|_ src/main/webapp |_ WEB-INF |_ mvc-dispather-servlet.xml, spring-security.xml, etc…
|_ src/main/resources
|_ META-INF |_ persistence.xml
pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<version>2.5.1</version>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>${appengine.target.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</build>
Ich bin für jeden Hinweis dankbar.
gruß