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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:26:35+00:00 2026-05-18T22:26:35+00:00

In Netbeans I’ve selected the ‘build and clean’ option on my project, however if

  • 0

In Netbeans I’ve selected the ‘build and clean’ option on my project, however if I move the .jar file from the /dist folder, I get this error:
“Error: not suitable driver found for ‘my database url here'”

Now I know that the database connection works because when I run the project in netbeans I’m able to retrieve and input data into the database, if I leave the .jar file in the /dist folder it works with no problems. Is there anyway I can include drivers when building the project?
Feel free to tell me if this makes no sense and I’ll try my best to elaborate.
Any help is greatly appreciated.

  • 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-18T22:26:36+00:00Added an answer on May 18, 2026 at 10:26 pm

    Update

    The problem here is your netbeans doesn’t include required drived in build instead it is referring it from lib dir in dist

    to kill this

    goto netbeans project > build.xml

    before </project> add this

     <target name="-pre-jar">
        <unjar src="${file.reference.quartz-1.5.2.jar}" dest="${build.classes.dir}"/>
    </target>
    

    Note: quartz-1.5.2.jar will be referred by your project file.reference.quartz-1.5.2.jar
    You can get such pointers from your project.properties file try to find jdbc jar’s pointer and all required and add then this way it will work.

    clean and build and run it from anywhere. it will include external libraries into build

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

Sidebar

Related Questions

In Netbeans 7.1 Git support has been added, however, I don't see a way
under Netbeans ,I created a project containing an interface i_object This interface represents the
In Netbeans what is the correct way to get the file path of the
In Netbeans or in Eclipse, you can use Find Usages or References from the
Netbeans has nice option of showing the author of specific line by using team
NetBeans has some great features in it like auto-generating code. However there are some
In Netbeans 7.1 when I've attached a external blucove.jar library , built it and
The Netbeans Go To File feature (accessed with shift+alt+o) is extremely slow compared to
In NetBeans 6.7.1, I have made a j2ee project, In this project I have
In Netbeans you can run a file by pressing Shift + F6 (on Windows)

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.