|Re: Dependencies not deployed on TomCat [message #651072 is a reply to message #650993]
||Thu, 27 January 2011 16:20
| Larry Isaacs
Registered: July 2009
On 1/27/2011 7:11 AM, Tom wrote:|
> Hi everyone,
> I'm currently experiencing persistent problems related to Eclipse and WTP.
> I have a dynamic webapp project with dependencies to multiple other
> Eclipse projects.
> When I select the webapp project to "run on server" on my TomCat
> (v6.0.30), the webapp gets deployed (still ok).
> During startup, however, TomCat complains that it cannot find any class
> file from the other projects (outside the webapp). ->
> The WEB-INF/lib folder contains all the dependencies (including
> transitive dependencies) of the web project and the associated Eclipse
> projects, but the JARs for the Eclipse projects themselves are missing. :(
> I should also mention that the Eclipse projects are created from Maven
> POMs. (tried both ways: mvn eclipse:eclipse and M2Eclipse plugin - no
> I'm not an WTP expert, but I hardly believe this is a Maven-import
> issue, because sometimes - extremely rarely and very upredictably - the
> imported webapp-project successfully starts om TomCat?!?!
> BTW, I'm running WinXP and I'm now using the latest Eclipse EE 3.6.1 but
> I have alread had this problem with older Eclipse versions...
> Thanks for any help!
If you open the webapp project's Properties dialog and go to the
Deployment Assembly page, do you see the dependent projects listed
there? If so, what are the Deploy Path and Source for these?
Powered by FUDForum
. Page generated in 0.02730 seconds