Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Dont know how to add database driver to project classpath in Netbeans, please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Dont know how to add database driver to project classpath in Netbeans, please help" Watch "Dont know how to add database driver to project classpath in Netbeans, please help" New topic
Author

Dont know how to add database driver to project classpath in Netbeans, please help

Nagaraj Shivaklara
Ranch Hand

Joined: Dec 16, 2008
Posts: 77
Hi,

I am trying to use Netbeans feature to create POJO and xml files automatically but when i tried, i am getting error as "The database drivers are not added to the project classpath, Go to project properties and add".
Can you please let me know how to add and what needs to add to the classpath..

Thanks
Nagaraj


Thanks n Regards,
Nagaraj S K
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Under the project do you have a "Libraries" list just as "Source Packages" etc... (It's available in NetBeans 7, may be bit different in prior versions)? If you have it then try adding your jar files there.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dont know how to add database driver to project classpath in Netbeans, please help
 
Similar Threads
How to add oracle thin driver in NetBeans 5.0
Adding Files to Netbeans Project
How to add oracle thin driver in NetBeans 5.0
Error (compile time) for JAVAX package
How to send a J2EE web application linked to mysql database to others?