Hi, any more verbose exception? Maybe you included persistence dependencies...
here a sample using jpa2: http://openejb.apache.org/examples-trunk/webapps/rest-example/README.html - Romain 2012/4/5 packiaramar <packialakshm...@infosys.com> > Am developing Dynamic web project with HTML 5 and Tomcat server 7. > Its showing the Exception in persistence.xml file while running... > > *cvc-complex-type.3.1: Value '2.0' of attribute 'version' of element > 'persistence' is not valid with respect to the corresponding attribute use. > Attribute 'version' has a fixed value of '1.0'* > > I imported all the jar files.. > Am not able to figure out the problem.. Please let me knw , anyone knws the > solution > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Persistence-Error-Value-2-0-of-attribute-version-of-element-persistence-is-not-valid-with-respect-to-tp4534033p4534033.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >