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 7610393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:24:29+00:00 2026-05-31T01:24:29+00:00

I am developing with Eclipse as my IDE. I have a project (my model)

  • 0

I am developing with Eclipse as my IDE. I have a project (my model) that the web-app depends on to compile and run. This model project also has jars in it that are needed by both it, and the web-app.

I have selected the needed project as a dependency in Eclipse’s deployment assembly option for the web-app. I have also selected which jars to export on the model project’s build configuration screen. All of my source code seems to be accessible at web-app runtime, but the library jars in the project are not (I get class not found exceptions)

Can tomcat not reference jars in jars as I think I am trying to do? Do I have to actually include all of the jars I want by going into deployment assembly and selecting “Archives from Workspace” in addition to the project I already have selected? (and thus making the “export” options in the model project useless?)

I’d prefer not to copy them over in the WEB-INF/lib directory as then I would need to manage two versions of this single library in our version control.

  • 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-31T01:24:30+00:00Added an answer on May 31, 2026 at 1:24 am

    My understanding is the Tomcat has to have the files within WEB-INF/lib to access these at runtime. What you could do is put the jars within this directory but then reference these from your model project so you don’t have to copy them twice.

    The answer below may also be of help How to work with referenced projects in eclipse

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

Sidebar

Related Questions

currently I'm developing in eclipse 3.5 in different project web applications for tomcat 6.0.24.
I've been developing Java Web apps using Eclipse as the IDE. Planning to start
I am developing a web application. I am using Eclipse as IDE. I was
I am developing android applications using Eclipse IDE. Now, I have given someone else's
I'm developing an Eclipse RCP based application, that uses the resource model of eclipse
I'm developing an app using Eclipse IDE under linux. While developing, I'm having terminal
I'm developing one web application, using PHP eclipse IDE. For an instance i want
I am developing an Eclipse plugin and have tests for it. Some are regular
I'm developing an Eclipse plug-in and I have a problem which is reproduced here:
i am developing a eclipse plugin . In this plugin i am using reflection

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.