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

hivmr.com | 4 months ago
  1. 0

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

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

  5. 0

    Dynamic datasource lookup using JPA

    Stack Overflow | 5 years ago | user595014
    java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope test.jar. Available persistence units: [HR, FINANCE]
  6. 0

    JPA Persistence: Spring 3.0.5 on WebLogic 10.3.4.0

    blogspot.com | 11 months ago
    java.lang.IllegalArgumentException: No persistence unit named 'spring' is available in scope springhypercube. Available persistence units: []

    1 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. 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