persistence@glassfish.java.net

persistence.xml error

From: Dmitry Mozheyko <mozheyko_d_at_mail.ru>
Date: Tue, 02 May 2006 10:43:59 +0400

Hello all.
I try to deploy my enterprise application (working fine on build b32g Linux) onto Solaris Sparc build b43 and receive error:
Invalid Deployment Descriptors in Deployment descriptor file META-INF/persistence.xml in archive [example-ejb.jar].
Line 2 Column 61 -- cvc-complex-type.4: Attribute 'version' must appear on element 'persistence'."

[persistence.xml-file]
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence">
  <persistence-unit name="em" transaction-type="JTA">
    <jta-data-source>jdbc/__default</jta-data-source>
    <properties>
      <property name="ddl-generation" value="createtables"/>
    </properties>
  </persistence-unit>
</persistence>

Why?