java.lang.IllegalArgumentException: No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []
via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []
via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []
via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []
via wpthm.com by Unknown author, 2 years ago
No persistence unit named 'SamplePersistUnit' is available in scope SampleUI. Available persistence units: []
via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'Model' is available in scope ModelEJB.jar. Available persistence units: []
java.lang.IllegalArgumentException: No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []
at weblogic.deployment.ModulePersistenceUnitRegistry.getPersistenceUnit(ModulePersistenceUnitRegistry.java:132)
at weblogic.deployment.BasePersistenceContextProxyImpl.init(BasePersistenceContextProxyImpl.java:38)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.init(TransactionalEntityManagerProxyImpl.java:35)
at weblogic.deployment.BaseEnvironmentBuilder.createPersistenceContextProxy(BaseEnvironmentBuilder.java:974)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.