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

Errors in Spring project archetypes

    XMLWordPrintable

Details

    • Hide

      Import Spring Project archetype from JBoss Central

      Show
      Import Spring Project archetype from JBoss Central
    • Hide

      1. Open Window->Preferences
      2. Select Validation category and find "XML Validation" in table
      3. Hit button "..."
      4. Select "Exclude Group" in tree and hit "Add Rule..." on the left
      5. Select "Folder or file name" radio and hin Next button
      6. Put "jboss-deployment-structure.xml" in "File or folder" field and poress Finish button
      7. Agree to do the full build after preferences are changed.

      Show
      1. Open Window->Preferences 2. Select Validation category and find "XML Validation" in table 3. Hit button "..." 4. Select "Exclude Group" in tree and hit "Add Rule..." on the left 5. Select "Folder or file name" radio and hin Next button 6. Put "jboss-deployment-structure.xml" in "File or folder" field and poress Finish button 7. Agree to do the full build after preferences are changed.

    Description

      There are 2 errors in Spring Project archetype:

      Description	Resource	Path	Location	Type
      cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected.	jboss-deployment-structure.xml	/jboss-springmvc-webapp/src/main/webapp/WEB-INF	line 2	XML Problem
      cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected.	jboss-deployment-structure.xml	/jboss-springmvc-webapp/src/main/webapp/WEB-INF	line 2	XML Problem
      

      [0] https://bugzilla.redhat.com/show_bug.cgi?id=996680
      [1] https://issues.jboss.org/browse/WFLY-943

      Attachments

        Issue Links

          Activity

            People

              snjeza_jira Snjezana Peco (Inactive)
              rhopp@redhat.com Radim Hopp
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: