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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:55:19+00:00 2026-06-12T11:55:19+00:00

I have a problem providing some third party librarys (JAR-files) I am using when

  • 0

I have a problem providing some third party librarys (JAR-files) I am using when deploying my dynamic web application with Tomcat 6 and Eclipse.

Please note that I -do know- how to do this in a setup, where the web application project -directly- depends on those JARs.

However, in my setup, I have two Eclipse projects:

  • core is a class library and depends on, lets say, a.jar.
  • web is the web application and depends on core.

In the project settings of web, in the Deployment Assembly category, I have added core, so Eclipse (or Tomcat – I’m not quite sure who the responsible actor here is) is putting core.jar into the libs directory of my web application.

The problem is: When I try out the web application, a NoClassDefFoundError is thrown when core accesses classes from a.jar. What am I supposed to do about this? I don’t think that putting a.jar into the Deployment Assembly settings page of my web application is the right solution, since it should be of no relevance to the web project, what the core project depends on.

Basically, I am looking for a way to configure Eclipse (Tomcat?) to ’embed’ the dependencies of core into core.jar. The problem about this is, that core.jar is generated automatically, when I deploy my web project.

Help is very appreciated.
Thanks in advance!

  • 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-06-12T11:55:21+00:00Added an answer on June 12, 2026 at 11:55 am

    Well, I’ve found the answer on my own meanwhile.

    For those reading this in the future I will explain step by step, using the semantics I introduced in my original message:

    First, open the properties page of your core project and navigate to the ‘Libraries’ tab of the ‘Java Build Path’ settings:

    enter image description here

    Make sure to add your class library a.jar, your core project depends on, via ‘Add JARs…’. Then, go ahead to the ‘Order and Export’ tab and activate the just added a.jar for exporting.

    enter image description here

    Then go to the ‘Deployment Assembly’ settings and also add a.jar here by first clicking on ‘Add…’, then on ‘Java Build Path Entries’ and finally selecting a.jar. Make sure to enter ‘../’ as the deploy path for a.jar:

    enter image description here

    Now you are done with your core project. Now open the ‘Projects’ page of the ‘Java Build Path’ settings for your web project and add your core project by clicking on ‘Add…’:

    enter image description here

    Finally, navigate to the ‘Deployment Assembly’ settings page, press ‘Add…’, then take ‘Project’ and select your core project on the next screen:

    enter image description here

    You’re done. No need to add your core dependencies to your web project.

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

Sidebar

Related Questions

I have problem with my query on C, I’m using the oci8 driver. This
I have problem with show or hide form in Window Form Application. I start
I have problem developing with live555. I already build the lib-files and example projects
I have a web app using master page and content pages (see the attached
Okay, so here's a problem I'm running into. I have some classes in my
I have some C# code which is using CSharpCodeProvider.CompileAssemblyFromSource to create an assembly in
I have an ASP.NET web application that presents data retrieved from a web service.
We have a custom javax.security.auth.spi.LoginModule used for web services as well as some web
I'm providing a backlink selling service, but I have problem while checking the sold
In my application I download some data from website providing landscape informations like population,

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.