[jbosstools-issues] [JBoss JIRA] (JBIDE-15181) Invalid content error when creating a seam project with EAP 6
Martin Malina (JIRA)
jira-events at lists.jboss.org
Thu Jul 11 10:34:21 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Malina updated JBIDE-15181:
----------------------------------
Description:
While verifying JBIDE-13965 I encountered this problem:
When you create a seam project, there is an error in jboss-deployment-structure.xml:
{code}
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.
{code}
The content of the file is as follows:
{code}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="org.hibernate" export="true"/>
<module name="javax.faces.api" export="true" />
<module name="com.sun.jsf-impl" export="true"/>
<module name="org.dom4j" export="true"/>
<module name="org.hibernate.validator" export="true"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
{code}
Note that the seam project still deploys fine on the server.
was:
While verifying JBIDE-13965 I encountered this problem:
When you create a seam project, there is an error in jboss-deployment-structure.xml:
{code}
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.
{code}
The content of the file is as follows:
{code}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="org.hibernate" export="true"/>
<module name="javax.faces.api" export="true" />
<module name="com.sun.jsf-impl" export="true"/>
<module name="org.dom4j" export="true"/>
<module name="org.hibernate.validator" export="true"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
{code}
> Invalid content error when creating a seam project with EAP 6
> -------------------------------------------------------------
>
> Key: JBIDE-15181
> URL: https://issues.jboss.org/browse/JBIDE-15181
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam 2
> Affects Versions: 4.1.0.CR1
> Environment: OS X 10.8.4 Mountain Lion
> JBDS 7.0.0.CR1a B357
> EAP 6.0.1
> EAP 6.1.0
> Seam 2.3.1
> Reporter: Martin Malina
> Fix For: 4.1.0.CR1
>
>
> While verifying JBIDE-13965 I encountered this problem:
> When you create a seam project, there is an error in jboss-deployment-structure.xml:
> {code}
> 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.
> {code}
> The content of the file is as follows:
> {code}
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
> <deployment>
> <dependencies>
> <module name="org.hibernate" export="true"/>
> <module name="javax.faces.api" export="true" />
> <module name="com.sun.jsf-impl" export="true"/>
> <module name="org.dom4j" export="true"/>
> <module name="org.hibernate.validator" export="true"/>
> </dependencies>
> </deployment>
> </jboss-deployment-structure>
> {code}
> Note that the seam project still deploys fine on the server.
--
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