org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.romaframework.module.admin.domain.Environment" 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 | yuzili | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Latest Roma Test Presentation Doesn't Work

    romaframework | 1 decade ago | yuzili
    org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.romaframework.module.admin.domain.Environment" 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

    Full demo application

    romaframework | 1 decade ago | rojo1414
    org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.romaframework.module.users.domain.InfoCategory" 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.

    Root Cause Analysis

    1. org.jpox.exceptions.ClassNotPersistenceCapableException

      The class "org.romaframework.module.admin.domain.Environment" 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.assertPersistenceCapableClass()
    2. org.jpox
      AbstractPersistenceManager.getExtent
      1. org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4137)
      2. org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2323)
      2 frames
    3. org.romaframework.aspect
      JDOPersistenceAspect.query
      1. org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.getQuery(JDOPersistenceHelper.java:66)
      2. org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.queryByFilter(JDOPersistenceHelper.java:212)
      3. org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.queryByExample(JDOPersistenceHelper.java:183)
      4. org.romaframework.aspect.persistence.jdo.JDOPersistenceAspect.query(JDOPersistenceAspect.java:160)
      4 frames
    4. org.romaframework.module
      UsersApplicationInstaller.install
      1. org.romaframework.module.admin.EnvironmentHelper.getEnvironment(EnvironmentHelper.java:55)
      2. org.romaframework.module.admin.EnvironmentHelper.<init>(EnvironmentHelper.java:38)
      3. org.romaframework.module.admin.EnvironmentHelper.<clinit>(EnvironmentHelper.java:30)
      4. org.romaframework.module.admin.install.AdminApplicationInstaller.install(AdminApplicationInstaller.java:37)
      5. org.romaframework.module.users.install.UsersApplicationInstaller.install(UsersApplicationInstaller.java:35)
      5 frames
    5. org.romaframework.test
      CustomApplicationInstaller.install
      1. org.romaframework.test.presentation.install.CustomApplicationInstaller.install(CustomApplicationInstaller.java:10)
      1 frame
    6. org.romaframework.module
      AdminApplicationInstaller.startup
      1. org.romaframework.module.admin.install.AdminApplicationInstaller.startup(AdminApplicationInstaller.java:31)
      1 frame
    7. org.romaframework.core
      RomaApplicationContext.setup
      1. org.romaframework.core.module.ModuleManager.startup(ModuleManager.java:44)
      2. org.romaframework.core.config.RomaApplicationContext.init(RomaApplicationContext.java:53)
      3. org.romaframework.core.config.RomaApplicationContext.setup(RomaApplicationContext.java:110)
      3 frames
    8. org.romaframework.aspect
      Echo2StartupServlet.init
      1. org.romaframework.aspect.view.echo2.Echo2StartupServlet.init(Echo2StartupServlet.java:45)
      1 frame
    9. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
      2. org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:329)
      3. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405)
      4. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
      5. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      5 frames
    10. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      1 frame
    11. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
      1 frame
    12. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:909)
      3. org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
      4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
      5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
      6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
      6 frames
    13. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      2 frames