Did you read the error message (the one in your second post)? It tells you exactly what is wrong - it even give the line and position within the file where the problem is.
>>When the .war file is getting created in the folder C:\jboss-as-distribution-6.0.0.Final\jboss-6.0.0.Final\server\default\deploy
I hope that I am misreading this and that what you meant is that the war is being copied to that folder. When I see the word "created" I associate that with the build process putting together a war - that should be done outside of the deploy folder.