JDBC for postgresql HELP !!! ClassNotFoundException 
Author Message
 JDBC for postgresql HELP !!! ClassNotFoundException

Dear all

I would not forward this message to a newsgroup if I need some serious
help.

I have just reinstalled my Linux Mandrake 7.1 with
J2SE
Java Servlet Development Kit + servletrunner
PostgreSQL 6.5.3 with the JDBC6.5-1.1.jar and JDBC6.5-1.2.jar.

I was able to access the database via if I run the class file under the
console using
Class.forName("postgresql.Driver");.

However, if I run this under servlet, it would throws a
ClassNotFoundException and failed to connect upto the database. My Psql
is running postmaster -i (accept TCP/IP).

Is this something wrong with the classpath ? I have added almost all the

jar files I could see into the classpath!!!

Thanks in advance

Sarah
IC



Tue, 31 Dec 2002 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. JDBC for postgresql HELP !!! ClassNotFoundException

2. JDBC Connection Problem "CLASSNOTFOUNDEXCEPTION" in TomCat

3. ClassNotFoundException sun.jdbc.odbc.JdbcOdbcDriver

4. JDBC-Driver ClassNotFoundException only when using JAR archive

5. msado15 ClassNotFoundException; JDBC 100% CPU

6. ClassNotFoundException:jdbc.odbc.jdbcodbcdriver

7. Oracle JDBC ClassNotFoundException

8. Help!Can't connect Postgresql JDBC driver

9. Help!Can't connect Postgresql JDBC driver

10. Help!Can't connect Postgresql JDBC driver

11. postgresql jdbc, help

12. JDBC-PostgreSQL Please help me :o)


 
Powered by phpBB® Forum Software