[jbosstools-issues] [JBoss JIRA] (JBIDE-14534) Errors in Spring project archetypes

István Tóth (JIRA) jira-events at lists.jboss.org
Tue Jul 23 05:19:27 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791613#comment-12791613 ] 

István Tóth edited comment on JBIDE-14534 at 7/23/13 5:19 AM:
--------------------------------------------------------------

I get the same error in my project (no spring, no archetype). 
This looks like an eclipse bug, as it says it expects the very element that it flags as bad, and I'm pretty sure my jboss-deployment-structure.xml is well-formed.

This file is enough to get error:

<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2" >
    <deployment>
    </deployment>
</jboss-deployment-structure>

                
      was (Author: stoty2):
    I get the same error in my project (no spring, no archetype). 
This looks like an eclipse bug, as it says it expects the very element that it flags as bad, and I'm pretty sure my jboss-deployment-structure.xml is well-formed.
                  
> Errors in Spring project archetypes
> -----------------------------------
>
>                 Key: JBIDE-14534
>                 URL: https://issues.jboss.org/browse/JBIDE-14534
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, project-examples
>    Affects Versions: 4.1.0.Beta1
>         Environment: JBT 4.1.0.Beta1
>            Reporter: Radim Hopp
>            Assignee: Snjezana Peco
>             Fix For: 4.1.x
>
>
> There are 2 errors in Spring Project archetype:
> {code}
> 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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list