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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:39:05+00:00 2026-05-27T11:39:05+00:00

I have got a JAR file which contains Utility classes, that are used in

  • 0

I have got a JAR file which contains Utility classes, that are used in my Web Application.

Now some of the Utility classes require their respective libraries such as commons-logging, db2java.

But my final Utility JAR being packaged does not contain these required libraries , I tried including them but they are not picked up by the classes.

Can anybody tell me as to how can I include these dependant libraries inside my Utility JAR in such a way that my classes pick them and execute properly.

  • 1 1 Answer
  • 1 View
  • 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-27T11:39:06+00:00Added an answer on May 27, 2026 at 11:39 am

    Just put all the lib’s in your WEB-INF/lib folder and not try to bundle them into one JAR file. Having your libs broken out into their own JAR files is easier to manage.

    WEB-INF/lib/
    ....commons-lang-3.0.jar
    ....db2java-1.0.jar
    ....my-utilities-1.0.jar
    

    You can also see the versions of the jars (in case you want to update one) without having to go digging around for them

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

Sidebar

Related Questions

I have got a Wavecom Supreme GSM modem. I wrote a simple application that
I have got a piece of code, that should countdown some number (in this
I have a multi module maven web application, which uses hibernate. I use the
I've got an Oracle 10g database, and I have a third-party jar file(MQ jars).
I've got a executable JAR file. And I've got an Ant build script that
Im developing desktop java application using maven. I got a *.properties file that I
I have a shell script that calls a java jar file and runs an
I've got an Oracle 10g database, and I have a third-party jar file. I
I'm new to maven and have got a project with some dependencies. Now Maven
I have a jar in the classpath of my server which contains the log4j.properties

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.