java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName xxx

Oracle Community | melodyk | 8 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

    GlassFish Users - Error: Unable to retrieve EntityManagerFactory for unitName ...

    nabble.com | 1 year ago
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName xxx
  2. 0

    Error: Unable to retrieve EntityManagerFactory for unitName ...

    Oracle Community | 8 years ago | melodyk
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName xxx
  3. 0

    petstore-2 :Unable to retrieve EntityManagerFactory

    Oracle Community | 1 decade ago | cyrille37
    java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName PetstorePu
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to retrieve EntityManagerFactory for unitName xxx

      at com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate()
    2. Common Utilities
      EntityManagerFactoryWrapper.createEntityManager
      1. com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:93)
      2. com.sun.enterprise.util.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:104)
      2 frames
    3. Spring ORM
      SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
      1. org.springframework.orm.jpa.EntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactoryUtils.java:193)
      2. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:171)
      2 frames
    4. Unknown
      $Proxy204.createQuery
      1. $Proxy204.createQuery(Unknown Source)
      1 frame