Hi,

i use the latest CVS Jboss-Release (5.0 alpha).
When I deploy my app then i get following exception:
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the 
declaration of element 'persistence-unit'.
  |         at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
  |         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
  |         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
  |         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
  |         at 
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
  |         at 
org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
  |         at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
The XML-file is validated wrong.
I think this is a bug, because if i compare my persistence.xml-file with the 
one in the specs then my persistence.xml file is right.
My App is deployed properly in the stable 4.X AS!
Am i right?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931179#3931179

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931179


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to