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

  • Home
  • SEARCH
  • 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 6067555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:37:14+00:00 2026-05-23T09:37:14+00:00

I am trying to create a web application in Eclipse. The problem is that

  • 0

I am trying to create a web application in Eclipse. The problem is that I don’t get the dependencies jars to the deployed archive.

I’ve created a new dynamic web project and linked it to another Java project. The Java project references a few 3rd party jars (e.g. Spring jars) but for some reasons when publishing the web project I get only the Java project jar in the lib dir of the war, without the Java project dependencies (e.g.Spring).

In other words, I have project A (web project) that depends on project B (Java Project), project B depends on Spring jars. When I publish the web project as a war to JBoss only project B is packaged into the jar (no spring jars)

I know I can do it with ant, I even have such build.xml to build the whole app, but I thought eclipse can also perform the packaging task for me.

I added the Java project to the Java EE module dependencies in the web project.

Should I use the export option in the Java project build path properties? Should I add the dependencies of the Java project to the web project as well?

What am I doing wrong?

I am using Eclipse 3.5.1

  • 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-23T09:37:15+00:00Added an answer on May 23, 2026 at 9:37 am
    1. Go to web project properties.
    2. Deployment Assembly (Left).
    3. Add > Select project > Select your lib project > Check “Assemble projects into the WEB-INF/lib folder of the web application” if not checked > Finish.
    4. Java Build Path (Left) > Projects Tab > Add… > Select your lib project > OK
    5. Java Build Path (Left) > Order and Export Tab > Select your lib project.
    6. Save
    7. Now it works.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am starting a new project trying to create a web application for an
I am trying to create a new web application in Web service. I am
I have a web application that I'm trying to create a Web Deployment Project
I am trying to create a web application that can respond to post requests
So I have been trying to create a new RESTfull web application project in
I'm trying to create a web application which will get input from system. What
I'm trying to create a web application project template for everyone to use here
I'm trying to create a web application using maven, tomcat and hibernate. Now I'm
I've been trying to create a stable web service application for the last 2-3
We are trying to create a web-service that we plan to pass a variable

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.