[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5669) Artifacts in lib of ear and lib of war for Maven projects

Oliver Freivogel (JIRA) jira-events at lists.jboss.org
Fri Jan 15 03:05:35 EST 2010


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

Oliver Freivogel commented on JBIDE-5669:
-----------------------------------------

Hi

I' m sorry for the trouble i caused, you were right, i have forgotten to set the provided scope. I tried also a other project, where i had similar problems with 3.1.0.M3 and m2eclipse: With 3.1.0.CR1 the project  was deployed correctly.

Cheers Oliver

> Artifacts in lib of ear and lib of war for  Maven projects
> ----------------------------------------------------------
>
>                 Key: JBIDE-5669
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5669
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: integration, JBossAS, maven
>    Affects Versions: 3.1.0.M4, 3.1.0.CR1
>         Environment: OS X 1.6.2,  Eclipse Galieo for JEE 32-bit
>            Reporter: Oliver Freivogel
>            Assignee: Snjezana Peco
>             Fix For: 3.1.0.CR2
>
>         Attachments: file_structure.jpg
>
>
> Artefacts used by EJB Modules are addded to the ear lib folder (correct) and also added to war's lib folder (incorrect). Further the ejb module itself is also added to the war's lib folder. the result are java.lang.ClassCastExceptions, because the classes are found twice and loaded by different classloaders.
> I did:
> 1. import existing maven project
> 2. Add ear modul to server
> 3. Clean server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list