Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17480

Error in validation of jboss-deployment-structure.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta3
    • None
    • server, upstream
    • None

      Wrong validation error on jboss-deployment-structure.xml file:

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
          <deployment>
              <dependencies>
                  <module name="org.apache.log4j" slot="main" export="true"/>
              </dependencies>
              <exclusions>
                  <module name="org.hibernate"/>
              </exclusions>
          </deployment>
      </jboss-deployment-structure>
      

      Error:

      cvc-complex-type.2.4.b: The content of element 'deployment' is not complete. One of '{"urn:jboss:deployment-structure:1.2":module-alias, "urn:jboss:deployment-structure:1.2":exports, "urn:jboss:deployment-structure:1.2":resources, "urn:jboss:deployment-structure:1.2":transformers, "urn:jboss:deployment-structure:1.2":local-last, "urn:jboss:deployment-structure:1.2":exclude-subsystems}' is expected.
      

      Same for urn:jboss:deployment-structure:1.1.

              rob.stryker Rob Stryker (Inactive)
              ecervena@redhat.com Emil Cervenan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: