[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7325) Unable to deploy mavenized Seam war - duplicate in components.xml

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Oct 14 13:04:39 EDT 2010


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

Snjezana Peco commented on JBIDE-7325:
--------------------------------------

Could you check if there is the jboss-seam.jar file in the deploy folder of your JBoss 5.1.0 server (rigth-click the JBoss AS 5.1.0 node in the Servers view and select the Explore action) ? If there is, remove it and try again.

I suppose that this issue is related to JBIDE-2791 that is partially fixed. If a JBoss AS classloader finds two Seam libraries with the same name (jboss-seam.jar, for instance), it will load only one of them. A mavenized Seam project contains jboss-seam-2.2.1.CR2.jar. The JBoss AS classloader tries to load jboss-seam twice and throws the exception you got.


> Unable to deploy mavenized Seam war - duplicate in components.xml 
> ------------------------------------------------------------------
>
>                 Key: JBIDE-7325
>                 URL: https://jira.jboss.org/browse/JBIDE-7325
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: integration, maven
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Libor Zoubek
>            Assignee: Snjezana Peco
>         Attachments: server.log
>
>
> Reproducible on JBossTools 3.2.0.v20101011-2039-H107-Beta1
> Steps to reproduce:
> 1. Create new Seam project (using standalone 2.2.x Seam runtime)
> 2. Go to project properties and enable 'Jboss Seam Integration' facet, in configuration enter Seam Maven version you are using
> 3. Deploy project (tested on JBoss AS 5.1GA)

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

        


More information about the jbosstools-issues mailing list