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 MARCH 09, 2019

Applies to:

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

Symptoms

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

Below is the error trace

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

Cause

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
Symptoms
Cause
Solution
References


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