Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nagaraj Shivaklara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic