JBoss AS6 - Failed to resolve schema nsURI= location=persistence

If you encounter the following error when deploying under JBoss AS6: “Failed to resolve schema nsURI= location=persistence”

The chances are that you are missing the name-space for the persistence.xml file. So examine your persistence.xml file and replace the tag with the following:

[sourcecode language=“jscript”]

[/sourcecode]

And this should help you get rid of the above error.

cheers.