I'm using Windows 7, Eclipse Indigo and GAE 1.6.6
I'm trying to learn how to use Java Persistence API on Google App Engine.
At this moment I'm trying to do the example from the following site vogella
I have the following package structure:
When I run the program it fails with an http error 500 and says javax persistence is a restricted class
Here is the code for the PersistsServlet.java file
Here is the code for EMFService.java
Here is the Todo.java file:
Here is the web.xml file:
This is the persistence.xml
and finally the error trace
posted 3 years ago
At last I have managed to get this to work.
I reinstalled a new version of eclipse Juno release.
and the latest version of the gae plugin 4.2
The latest plugin includes a persistence.xml
The difference between the persistence.xml that I was using and this one
is in the <provider> section.