Reputation: 65
When I'm connecting to my database (PostgreSQL 8.2) through JDBC it gives an error ClassNotFound and something related to drivers. How do I fix this?
Upvotes: 0
Views: 211
Reputation: 30934
I guess you need to put the postgres jdbc driver on your classpath. You can download it from http://jdbc.postgresql.org/
Latest version 8 or 9 drivers should to (stable) like the 9.0-801 driver. To quote the size :
If you are using the 1.6 JVM, then you should use the JDBC4 version.
Upvotes: 1