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


Solutions on the web11

Solution icon of web
No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []

Solution icon of web
No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []

Solution icon of oraclecommunity
via Oracle Community by 716679, 1 year ago
No persistence unit named 'EntityBean' is available in scope book.jar. Available persistence units: []

Solution icon of web
No persistence unit named 'SamplePersistUnit' is available in scope SampleUI. Available persistence units: []

Solution icon of web
No persistence unit named 'Model' is available in scope ModelEJB.jar. Available persistence units: []

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []

Solution icon of oraclecommunity
No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []

Solution icon of stackoverflow
via Stack Overflow by user595014
, 1 year ago
No persistence unit named 'em' is available in scope test.jar. Available persistence units: [HR, FINANCE]

Solution icon of oraclecommunity
via Oracle Community by 666705, 1 year ago
No persistence unit named 'intro' is available in scope bankjar.jar. Available persistence units: []

Solution icon of web
No persistence unit named 'MeCKSPersistenceUnit' is available in scope MeCKSServerEJB3.jar. Available persistence units: []

Stack trace

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)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.