[
https://jira.jboss.org/browse/JBIDE-6767?page=com.atlassian.jira.plugin.s...
]
John Franey commented on JBIDE-6767:
------------------------------------
I dug a bit further. Although, the deploy location of mvel may be a problem, it is not
the problem in my forum post, referenced in the summary of this bug. My posting says that
an error is generated when deploying a seam project created by jboss tools using the maven
integration. I've been able to reproduce the problem easily.
The root cause is the application.xml file that is created during the project creation.
It contains jboss-seam jar file twice. Editing the file in eclipse editor and removing
one of the ejb entries fixes the problem. Here is application.xml as it appears
immediately after creating seam project with maven integration:
<?xml version="1.0" encoding="UTF-8"?>
<application
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.x...
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
<display-name>trumpet-ear</display-name>
<module>
<ejb>jboss-seam.jar</ejb>
</module>
<module>
<web>
<web-uri>trumpet.war</web-uri>
<context-root>/trumpet</context-root>
</web>
</module>
<module>
<ejb>trumpet-ejb.jar</ejb>
</module>
<module>
<ejb>/jboss-seam-2.2.0.GA.jar</ejb>
</module>
<library-directory>lib</library-directory>
</application>
If there is JBoss Maven Integration facet, new Seam Web Project
wizard unnecessarily copies seam libraries to ear project
-------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-6767
URL:
https://jira.jboss.org/browse/JBIDE-6767
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.2.0.M1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.2.0.M2
Copying libraries causes the exception described in the forum thread.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira