org.romaframework.aspect.persistence.PersistenceException

getQuery

Solutions on the web6

  • via romaframework by rojo1414
    , 1 year ago
    getQuery
  • via romaframework by erandika
    , 1 year ago
    getQuery
  • via romaframework by yuzili
    , 1 year ago
    getQuery
  • Stack trace

    • org.romaframework.aspect.persistence.PersistenceException: getQuery at org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.getQuery(JDOPersistenceHelper.java:70) at org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.queryByFilter(JDOPersistenceHelper.java:212) at org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.queryByExample(JDOPersistenceHelper.java:183) at org.romaframework.aspect.persistence.jdo.JDOPersistenceAspect.query(JDOPersistenceAspect.java:160) at org.romaframework.module.admin.EnvironmentHelper.getEnvironment(EnvironmentHelper.java:55) at org.romaframework.module.admin.EnvironmentHelper.<init>(EnvironmentHelper.java:38) at org.romaframework.module.admin.EnvironmentHelper.<clinit>(EnvironmentHelper.java:30) at org.romaframework.module.admin.install.AdminApplicationInstaller.install(AdminApplicationInstaller.java:37) at org.romaframework.module.users.install.UsersApplicationInstaller.install(UsersApplicationInstaller.java:35) at org.romaframework.test.presentation.install.CustomApplicationInstaller.install(CustomApplicationInstaller.java:10) at org.romaframework.module.admin.install.AdminApplicationInstaller.startup(AdminApplicationInstaller.java:31) at org.romaframework.core.module.ModuleManager.startup(ModuleManager.java:44) at org.romaframework.core.config.RomaApplicationContext.init(RomaApplicationContext.java:53) at org.romaframework.core.config.RomaApplicationContext.setup(RomaApplicationContext.java:110) at org.romaframework.aspect.view.echo2.Echo2StartupServlet.init(Echo2StartupServlet.java:45) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:329) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Caused by: 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(AbstractPersistenceManager.java:4137) at org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2323) at org.romaframework.aspect.persistence.jdo.JDOPersistenceHelper.getQuery(JDOPersistenceHelper.java:66) ... 29 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.