javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to configure EntityManagerFactory

openxava | fredy1982 | 3 years 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

    No me lista la colección

    openxava | 3 years ago | fredy1982
    javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to configure EntityManagerFactory
  2. 0

    @Embeddable classes

    openxava | 8 years ago | nishiboy
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to build EntityManagerFactory
  3. 0

    GridSphere questions

    openxava | 9 years ago | ztw
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to switch to mysql (or another DB)?

    openxava | 1 decade ago | nadsinoz
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not instantiate cache implementation
  6. 0

    Listas que no provienen de entidades

    openxava | 8 years ago | lesterg
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to configure EntityManagerFactory

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      [PersistenceUnit: default] Unable to configure EntityManagerFactory

      at org.hibernate.ejb.Ejb3Configuration.configure()
    2. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:378)
      2. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
      2 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
      1 frame
    4. org.openxava.jpa
      XPersistence.createManager
      1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:182)
      2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:108)
      2 frames
    5. org.openxava.annotations
      AnnotatedClassParser.parse
      1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2557)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2473)
      3. org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2425)
      4. org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:67)
      4 frames
    6. org.openxava.component
      MetaComponent.get
      1. org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
      2. org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
      3. org.openxava.component.MetaComponent.get(MetaComponent.java:58)
      3 frames
    7. org.openxava.controller
      ModuleManager.setModuleName
      1. org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:1093)
      1 frame
    8. org.apache.jsp
      module_jsp._jspService
      1. org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:167)
      1 frame
    9. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    11. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    13. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      6 frames
    14. org.openxava.web
      ModuleServlet.doGet
      1. org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    17. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame