[jboss-user] [JBoss Tools] - Re: Eclipse indigo JBoss AS 7 deploy problem

Zoltan Baji do-not-reply at jboss.com
Thu Nov 10 08:59:39 EST 2011


Zoltan Baji [http://community.jboss.org/people/zzzooo] created the discussion

"Re: Eclipse indigo JBoss AS 7 deploy problem"

To view the discussion, visit: http://community.jboss.org/message/635936#635936

--------------------------------------------------------------
We have found the issue.

The problem was:
I imported all my projects as "existing maven project". Then - somehow -, the org.eclipse.wst.common.component file under the ear project's .settings directory referenced for the projects - which should have been packaged (zipped) into the ear's lib directory - as resource instead of maven reference.

Problem:
 <dependent-module archiveName="wicket-core-2.0.1-SNAPSHOT.jar" deploy-path="/lib" handle="module:/resource/com.doctusoft.web.wicket-core/com.doctusoft.web.wicket-core">
            <dependency-type>uses</dependency-type>
        </dependent-module>

Solution:
I replaced it to this:
<dependent-module archiveName="wicket-core-2.0.1-SNAPSHOT.jar" deploy-path="/lib" handle="module:/classpath/var/M2_REPO/com/doctusoft/web/wicket-core/2.0.1-SNAPSHOT/wicket-core-2.0.1-SNAPSHOT.jar">
            <dependency-type>uses</dependency-type>
        </dependent-module>

No it's packed correctly and works fine!
Thanks a lot!
z.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/635936#635936]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111110/318222c3/attachment.html 


More information about the jboss-user mailing list