org.jpox.exceptions.ClassNotPersistenceCapableException: The class "com.stuff.mats.domain.MyClass" is not Persistence-Capable. 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.

romaframework | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Persistence-Capable

    romaframework | 1 decade ago | nobody
    org.jpox.exceptions.ClassNotPersistenceCapableException: The class "com.stuff.mats.domain.MyClass" is not Persistence-Capable. 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.
  2. 0

    ClassNotPersistenceCapableException: The class "org.apache.archiva.redback.rbac.ldap.LdapRbacManager$RoleImpl" is not Persistence-Capable.

    archiva-users | 3 years ago | Alex Hinrichs
    org.apache.archiva.redback.role.RoleManagerException: error updating role 'Repository Manager - zCentral'

    Root Cause Analysis

    1. org.jpox.exceptions.ClassNotPersistenceCapableException

      The class "com.stuff.mats.domain.MyClass" is not Persistence-Capable. 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.jpox.AbstractPersistenceManager.assertPersistenceCapable()
    2. org.jpox
      AbstractPersistenceManager.makePersistent
      1. org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:4019)
      2. org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1118)
      3. org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1240)
      3 frames
    3. org.romaframework.aspect
      JDOPersistenceAspect.createObject
      1. org.romaframework.aspect.persistence.jdo.JDOPersistenceAspect.createObject(JDOPersistenceAspect.java:74)
      1 frame