My Oracle Support Banner

OEPE - java.lang.IllegalArgumentException: No persistence unit named 'xxx' is available in scope /web-app-module. Available persistence units (Doc ID 2073365.1)

Last updated on OCTOBER 25, 2021

Applies to:

Oracle Enterprise Pack for Eclipse - Version and later
Information in this document applies to any platform.


Error deploying EAR that contains a WAR that contains multiple jars that each  have a persistence.xml on WLS 12.1.3 using OEPE

Below is the error trace

 Exporting the EAR from IDE and deploying via WLS Console,deployment goes fine.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.