Deployment Issue - BEA-2156203 A version attribute was not found in element persistence in the deployment descriptor (Doc ID 1306295.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.4 to 10.3.6
Information in this document applies to any platform.

Symptoms

An application is working on WebLogic Server (WLS) 10.3.3. 

On WLS 10.3.4 and above, when compiling EJBs using the utilities included with WLS, you will notice the below errors:

<BEA-2156203> <A version attribute was not found in element persistence in the deployment descriptor in /export/home/wl1034/Mydomain/servers/DeveloperAdmin/tmp/_WL_user/_appsdir_mms_ear/dda54x/mms-ejb.jar/META-INF/weblogic-ejb-jar.xml. A version attribute is required, butn this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>

 

Cause

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