views:

166

answers:

1

We're developing a web application using Tomcat and a number of other libraries, and we're having issues using the "Java EE Module Dependencies" page in Eclipse to assign dependencies to be placed in the lib/ directory of the webapp. (See screenshot)

The issue we're having is that while most of our projects show up as available dependencies, a few are missing. We've done our research, and on some machines all of our projects appear properly, but not on others. Is there any rhyme or reason to the missing projects? alt text

+1  A: 

This is kind of a WAG, but can you try adding a "Utility Module" facet to the projects you want to add as a Java EE Module Dependency?

alt text

And then see whether those projects are available to be added as Java EE dependencies.

The Alchemist
Sounds promising, but when I select that option, I receive the error message: "Utility Module requires Java 1.3 or newer", which we definitely have. :)
craig
That's really odd. So you have a check next o "Java" and it's selected to 1.6/6 or whatever? I'm not sure if these issues are related, but your projects' Eclipse files seem to be screwed up somehow. I would recommend re-creating the projects from scratch, if possible.
The Alchemist
That did it, thanks. I didn't see that Java was also in the list, I thought that the error indicated I didn't have Java installed on my machine. Selecting both the "Utility Module" and "Java" items caused the missing project to appear in the Java EE Module list. Thanks!!
craig