javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource

openxava | eescrihuela | 10 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

    Prueba OX3 beta1 en XP. Problemas de arranque

    openxava | 10 years ago | eescrihuela
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource
  2. 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
  3. 0

    Duplicate property error

    openxava | 8 years ago | henryedsl
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to build EntityManagerFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problema al analizar el EJB3 con anotaciones

    openxava | 10 years ago | elcorreodehero
    javax.persistence.PersistenceException: org.hibernate.MappingException: Could not determine type for: org.openxava.escuela.modelo.Empresa, for columns: \[org.hibernate.mapping.Column(idEmpresa)\]
  6. 0

    GridSphere questions

    openxava | 9 years ago | ztw
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource

    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

      org.hibernate.HibernateException: Could not find datasource

      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory()
    2. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737)
      2. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
      2 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
      1 frame
    4. org.openxava.jpa
      XPersistence.createManager
      1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:175)
      2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:102)
      2 frames
    5. org.openxava.annotations
      AnnotatedClassParser.parse
      1. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:1633)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:1601)
      3. org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:47)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. org.openxava.util
      Objects.execute
      1. org.openxava.util.Objects.execute(Objects.java:193)
      2. org.openxava.util.Objects.execute(Objects.java:112)
      2 frames
    8. org.openxava.component
      MetaComponent.get
      1. org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54)
      2. org.openxava.component.ComponentParser.parse(ComponentParser.java:34)
      3. org.openxava.component.MetaComponent.get(MetaComponent.java:60)
      3 frames
    9. org.openxava.view
      View.getFocusPropertyId
      1. org.openxava.view.View.getMetaModel(View.java:229)
      2. org.openxava.view.View.getMetaView(View.java:212)
      3. org.openxava.view.View.createMetaMembers(View.java:142)
      4. org.openxava.view.View.getMetaMembers(View.java:121)
      5. org.openxava.view.View.getMetaProperties(View.java:2302)
      6. org.openxava.view.View.getFirsEditablePropertyId(View.java:2995)
      7. org.openxava.view.View.calculateFocusPropertyId(View.java:2973)
      8. org.openxava.view.View.getFocusPropertyId(View.java:2959)
      8 frames