Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6322557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:21:16+00:00 2026-05-24T16:21:16+00:00

I’m attempting to set up a web project’s dependency on a utility project. My

  • 0

I’m attempting to set up a web project’s dependency on a utility project. My utility project is set up with the ‘Utility Module’ project facet and ‘Java 5’. When I select ‘Java EE Module Dependencies’ in the properties of my web project, my utility project does not appear. I believe this is the problem and would love to resolve it!

I did also try the following:
Since the Utility project does, however, show up in the ‘Java EE Module Dependencies’ in the properties of my EAR, I selected the dependency in my EAR and found that the Utility was now available to my web project, it appears as. e.g., Utility.jar. Ultimately, this seems to be the desired effect. However, the issue appears to be with the server’s dependency resolution. The Jar is distributed to the EAR and added to the Web’s Manifest as, i.e., Utility.jar. But the Utility project’s dependencies are not being included along with that (or something to that affect). Note: My company uses Ivy for dependency resolution. The problem here is that the specific Jar that I’m receiving NoClassDefFoundError s on is included in the Web’s dependency as well (i.e., the Jar exists in the WEB-INF/lib directory). So I’m not sure why, if this is a viable solution, the Jar isn’t able to resolve the dependency from the Web’s classloader.

Also worth mentioning, the Utility project has been added to the ‘Project’ tab of the web project’s ‘Build Path’; therefore, I’m not receiving any compilation errors.

I will continue to dig in and try to find a solution but I would appreciate any help or guidance along the way.

Here are some of the resources I’ve found related to my exhaustive research:

  • Setting up dependencies: http://download.oracle.com/docs/cd/E13226_01/workshop/docs92/ws_platform/ideuserguide/conOptimizingProjects.html#SetupDependenciesSelective
  • Adding Utility Facet: Java EE Module Dependencies page in Eclipse missing projects
  • Project Dependency Issue: Eclipse Web Project Dependencies

Solution Posted Below

To anyone who was looking into this issue for me, I appreciate your time. Hopefully this will help someone with a similar issue down the road.

Sincerely,
Beez

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:21:17+00:00Added an answer on May 24, 2026 at 4:21 pm

    Before, I was unable to check the Utility project in the web project’s properties > ‘Java EE Module Dependencies’ > ‘Web Libraries’. I’m not sure why. The module appeared but when I checked it, clicked ‘apply’ and ‘okay’, when I reopened the properties the module was unchecked. So I added the dependency manually into the org.eclipse.wst.common.component file:

    <dependent-module archiveName="Utility.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Utility/Utility">
        <dependency-type>uses</dependency-type>
    </dependent-module>
    

    This resolved the issue completely and my app is fully functioning!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I need a function that will clean a strings' special characters. I do NOT
I have thousands of HTML files to process using Groovy/Java and I need to
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.