java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope bla. Available persistence units: []

hivmr.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    db:: 3.48::Persistence shared across EJB and WAR projects xd

    hivmr.com | 1 year ago
    java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope bla. Available persistence units: []
  2. 0

    db:: 4.79::Re: No Persistence provider for EntityManager named dj

    hivmr.com | 7 months ago
    java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope bla. Available persistence units: []
  3. 0

    War deployment via OEPE: persistence.xml not processed

    Oracle Community | 5 years ago | 933870
    java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope bla. Available persistence units: []
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No persistence unit named 'em' is available in scope bla. Available persistence units: []

      at weblogic.persistence.ModulePersistenceUnitRegistry.getPersistenceUnit()
    2. weblogic.persistence
      PersistenceManagerObjectFactory.createPersistenceContextProxy
      1. weblogic.persistence.ModulePersistenceUnitRegistry.getPersistenceUnit(ModulePersistenceUnitRegistry.java:130)
      2. weblogic.persistence.BasePersistenceContextProxyImpl.init(BasePersistenceContextProxyImpl.java:40)
      3. weblogic.persistence.TransactionalEntityManagerProxyImpl.init(TransactionalEntityManagerProxyImpl.java:31)
      4. weblogic.persistence.EntityManagerInvocationHandlerFactory.createTransactionalEntityManagerInvocationHandler(EntityManagerInvocationHandlerFactory.java:20)
      5. weblogic.persistence.PersistenceManagerObjectFactory.createPersistenceContextProxy(PersistenceManagerObjectFactory.java:66)
      5 frames