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 NOVEMBER 03, 2015

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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms