Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans error JSP and MySQL

 
colm o'donnell
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java. lang. ClassNotFoundException : com.mysql.jdbc.Driver


Hi

This is an error I'm getting when trying to create a website in netbeans. Can someone please help me. I'm using mysql and mysql-connector-java-5.0.8.
Thanks a million,
Colm
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sound like classpath problem.

in netbeans, You can right-click to the project and set your classpath in the library option of the Project Properties dialog box. there you can add your JAR (mysql jar) files into to your project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic