Deployment Issue - BEA-2156203 A version attribute was not found in element persistence in the deployment descriptor
Last updated on OCTOBER 25, 2017
Applies to:Oracle WebLogic Server - Version 10.3.4 to 10.3.5
Information in this document applies to any platform.
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.>
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