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

MYSQL Exception

 
Bacchi Gerem
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using WSAD and MYSQL database. I am getting error

Exception:com.mysql.jdbc.Driver

I did all required setting :
My Classpath:
CLASSPATH=.;C:\mysql\mysql-connector-java-3.1.10;C:\mysql\mysql-connector-java-3
.1.10\mysql-connector-java-3.1.10-bin.jar

I imported the mysql-connector-java-3.1.10-bin.jar to my project library.
still I am getting this error. Please help in solving this issue.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have more details about the exception? Is there a stacktrace?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In WSAD you need to include the driver in either the project build path or the web-inf/lib directory, depending on whether you are running an application or application server. Please provide more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic