javax.persistence.PersistenceException

org.hibernate.HibernateException: Could not find datasource

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1412

  • via Oracle Community by armen2010, 1 year ago
    org.hibernate.HibernateException: Could not find datasource
  • org.hibernate.HibernateException: Could not find datasource
  • via openxava by ztw
    , 1 year ago
    org.hibernate.HibernateException: Could not find datasource
  • Stack trace

    • javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:175) at org.openxava.jpa.XPersistence.createManager(XPersistence.java:102) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:1633) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:1601) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.openxava.util.Objects.execute(Objects.java:193) at org.openxava.util.Objects.execute(Objects.java:112) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54) at org.openxava.component.ComponentParser.parse(ComponentParser.java:34) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.view.View.getMetaModel(View.java:229) at org.openxava.view.View.getMetaView(View.java:212) at org.openxava.view.View.createMetaMembers(View.java:142) at org.openxava.view.View.getMetaMembers(View.java:121) at org.openxava.view.View.getMetaProperties(View.java:2302) at org.openxava.view.View.getFirsEditablePropertyId(View.java:2995) at org.openxava.view.View.calculateFocusPropertyId(View.java:2973) at org.openxava.view.View.getFocusPropertyId(View.java:2959)

    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

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 10 months ago
    7 times, 1 year ago
    1 more bugmates