Java EE Module Dependencies page in Eclipse missin

2019-09-11 11:44发布

问题:

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?

回答1:

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?

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