Thread: Connection problem
Hi everybody, I'm using Postgresql 7.2 release and the JDK 1.4.1. I think I must use the pg72jdbc2.jar. However, I have a problem when I try to connect the database. When running my code, I have "NoClassDefFoundError" generated by the method forName. I verify my classpath contains the path to the driver (/opt/java/jre/lib/pg72jdbc2.jar). If somebody can help me... Thanks sww _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr
Hi! I had a similar problem, made sure that you pg72jdbc2.jar have the correct permissions. To my it works in the path: /opt/java/jre/lib/ext/ test here, maybe this is the problem Bye -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of sandrine wamy wapet Sent: Lunes, 26 de Enero de 2004 9:40 To: pgsql-jdbc@postgresql.org Subject: [JDBC] Connection problem Hi everybody, I'm using Postgresql 7.2 release and the JDK 1.4.1. I think I must use the pg72jdbc2.jar. However, I have a problem when I try to connect the database. When running my code, I have "NoClassDefFoundError" generated by the method forName. I verify my classpath contains the path to the driver (/opt/java/jre/lib/pg72jdbc2.jar). If somebody can help me... Thanks sww _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
Hi, Everything is working now, thank you for help!!!!! ----Original Message Follows---- From: "Dennis Romero L." <dromero@ceibo.fiec.espol.edu.ec> To: "'sandrine wamy wapet'" <wamywas@hotmail.com>, <pgsql-jdbc@postgresql.org> Subject: RE: [JDBC] Connection problem Date: Mon, 26 Jan 2004 10:43:15 -0500 Hi! I had a similar problem, made sure that you pg72jdbc2.jar have the correct permissions. To my it works in the path: /opt/java/jre/lib/ext/ test here, maybe this is the problem Bye -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of sandrine wamy wapet Sent: Lunes, 26 de Enero de 2004 9:40 To: pgsql-jdbc@postgresql.org Subject: [JDBC] Connection problem Hi everybody, I'm using Postgresql 7.2 release and the JDK 1.4.1. I think I must use the pg72jdbc2.jar. However, I have a problem when I try to connect the database. When running my code, I have "NoClassDefFoundError" generated by the method forName. I verify my classpath contains the path to the driver (/opt/java/jre/lib/pg72jdbc2.jar). If somebody can help me... Thanks sww _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings _________________________________________________________________ MSN Messenger http://g.msn.fr/FR1001/866 : un logiciel gratuit pour dialoguer avec vos amis !