I usually find I get this when the class I am trying to persist doesn't have the @PersistenceCapable annotation, or more often, where one of its ancestors hasn't.
On Apr 9, 6:47 pm, "Ikai L (Google)" <[email protected]> wrote: > Can you post the class? > > > > > > On Fri, Apr 9, 2010 at 5:49 AM, Smitha <[email protected]> wrote: > > I'm trying to create a JDO object, create a table and assign values to > > it. > > > But I'm getting the following error when i try to run it although I > > have enhanced it and I'm using the Google Plugin for eclipse to build > > it. > > > The class "The class "com.store.db.UserDetails" 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. > > RequestURI=/signUser > > > Caused by: > > > org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: > > The class "The class "com.store.db.UserDetails" 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. > > at > > > org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc > > leusJDOHelper.java: > > 241) > > at > > > org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceM > > anager.java: > > 674) > > > Please let me know if you need any more details. > > Thanks in advance. > > Smitha. > > > -- > > 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 > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine-java%2B > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
