Hi all,

I've just recently started using Maven2 and I there are still lots of things
that I'm puzzled about. The scenario is that I have M2 project which has 2
modules (A & B) which both build jar. Then there's a web application (C)
which depends on other of those jars (A).

So my directory structure looks like this;

Parent
 - module A
 - module B
 - module C (web app)

What I'm trying to do is to run and test web application with WTP. I've ran
eclipse:eclipse with -Dwtpversion=2.0 on my project, but the problem is,
that module A jar is not included in Tomcat in web app's WEB-INF/lib
directory and that causes ClassNotFoundException when application runs. All
third party jars that web app depends on are located where they should.

In web app's properties module A is listed in Projects -tab in Required
projects on the build path, but it has this yellow sign saying "Build path
entry is missing: module A". How can I fix this?

Hope you get the idea what I'm trying to say, like I said, I'm not that
experienced with Maven yet.

Best regards,

Janne

Reply via email to