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

Mrinal Thigale (JIRA) jira-events at lists.jboss.org
Fri Jul 26 15:39:26 EDT 2013


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

Mrinal Thigale commented on JBIDE-14534:
----------------------------------------

Hi 
I solved this problem by changing it to :

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:2.0">
  <deployment>
  	  <dependencies>
	      <module name="org.hibernate" export="true"></module>
	      <module name="javax.faces.api" export="true"></module>
          <module name="com.sun.jsf-impl" export="true"></module>
          <module name="org.dom4j" export="true"></module>
          <module name="org.hibernate.validator" export="true"></module>
	    </dependencies>
  </deployment>  
</jboss-deployment-structure> 

                
> 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, upstream
>    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