|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to load class org.gjt.mm.mysql.Driver
Working with the tutorials on site here, I get an error on this line:
Class.forName("org.gjt.mm.mysql.Driver"); The error message can be seen here: http://www.hyrum.net/therecord/index.jsp What does it mean and how can I fix it? ![]() |
|
#2
|
|||
|
|||
|
You need to put the mysql driver (a .jar file) in your classpath. Your /WEB-INF/lib folder will do the trick.
If you haven't got it you can download the latest from URL Good Luck! |
|
#3
|
|||
|
|||
|
Turned out to be a few things wrong...
1) Was missing the jar file 2) mysql.users neded to be changed for the way localhost shows... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Unable to load class org.gjt.mm.mysql.Driver |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|