Snjezana Peco [
https://community.jboss.org/people/snjeza] created the discussion
"Re: Jboss EE 6 EAR archetype, problem with EAR/lib"
To view the discussion, visit:
https://community.jboss.org/message/789340#789340
--------------------------------------------------------------
Try to add the EAR Libraries classpath container to your ejb and war projects (right-click
the project, select Build Path>Configure Build Path..., select the Libraries tab, click
the Add Library button and add EAR Libraries).
You will get the following line in project's .classpath:
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
I suppose m2e-wtp would have to add this container automatically to the projects included
in an EAR.
This is a WTP container that sets EAR dependencies to an EAR module.
WTP sets this container when adding some WTP module to an EAR.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/789340#789340]
Start a new discussion in JBoss Tools at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]