Deployment Issue - BEA-2156203 A Version Attribute was Not Found in Element Persistence in the Deployment Descriptor
(Doc ID 1306295.1)
Last updated on MARCH 23, 2020
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 <path>/<ejbApp>.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.>
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