title: Jboss AS7 - jboss-deployment-structure.xml deployment error
body: <p>When I add the jboss-deployment-structure.xml in to my .war and deploy in the AS7 giving the following error.</p>
  
  <pre><code>Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,1]
  Message: Unexpected element '{urn:jboss:deployment-structure:1.2}jboss-deployment-structure'
      at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
      at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
  </code></pre>
  
  <p>Sample xml is attached below.</p>
  
  <pre><code>    &lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;exclusions&gt;
              &lt;module name="org.apache.log4j" /&gt;
          &lt;/exclusions&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>
  
  <p>Is there any reason why I get the deployment error?</p>