java.lang.IllegalArgumentException

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

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 web14086

  • via Oracle Community by 933870, 1 year ago
    No persistence unit named 'em' is available in scope bla. Available persistence units: []
  • via hivmr.com by Unknown author, 1 year ago
    No persistence unit named 'em' is available in scope bla. Available persistence units: []
  • via hivmr.com by Unknown author, 11 months ago
    No persistence unit named 'em' is available in scope bla. Available persistence units: []
  • Stack trace

    • java.lang.IllegalArgumentException: No persistence unit named 'em' is available in scope bla. Available persistence units: [] at weblogic.persistence.ModulePersistenceUnitRegistry.getPersistenceUnit(ModulePersistenceUnitRegistry.java:130) at weblogic.persistence.BasePersistenceContextProxyImpl.init(BasePersistenceContextProxyImpl.java:40) at weblogic.persistence.TransactionalEntityManagerProxyImpl.init(TransactionalEntityManagerProxyImpl.java:31) at weblogic.persistence.EntityManagerInvocationHandlerFactory.createTransactionalEntityManagerInvocationHandler(EntityManagerInvocationHandlerFactory.java:20) at weblogic.persistence.PersistenceManagerObjectFactory.createPersistenceContextProxy(PersistenceManagerObjectFactory.java:66)

    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