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

hivmr.com | 9 months 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

    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 | 9 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