Hi, This is the first time that I have worked with Datastore, I followed the tutorial here http://code.google.com/appengine/docs/java/datastore/usingjdo.html, but whenever I run the project I got this error:
org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "my class" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found." is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. Error on MailHandler at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java: 241) at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java: 674) at org.datanucleus.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java: 694) at com.waveassistant.app.MailHandler.doPost(MailHandler.java:82) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) ........................... Also, I tried to clean/build the project, just maybe there is a problem on the logs. So I got this error also: java.lang.RuntimeException: Unexpected exception at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: 59) at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java: 60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java: 57) ... 2 more Caused by: org.datanucleus.exceptions.NucleusException: Plugin (Bundle) "org.datanucleus.store.appengine" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/D:/MasteringWave/Eclipse/WaveAssistant/war/ WEB-INF/lib/datanucleus-appengine-1.0.6.final.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/C:/eclipse/plugins/ com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111/ appengine-java-sdk-1.3.3.1/lib/user/orm/datanucleus- appengine-1.0.6.final.jar." at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java: 434) at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java: 340) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java: 222) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java: 153) at org.datanucleus.plugin.PluginManager.registerExtensionPoints(PluginManager.java: 82) at org.datanucleus.OMFContext.<init>(OMFContext.java:160) at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java: 172) at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java: 150) at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java: 1157) ... 7 more Please Advise. Thanks in advance, Paul -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.