| From: | Manohar Bhattarai <manoharbhattarai(at)gmail(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Not able to connect to postgresql database |
| Date: | 2010-06-02 13:40:15 |
| Message-ID: | AANLkTik2jrpbhS_QrD32GjiyaDveBq-BROeM_IFZh-FZ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Thanks for your replies.
Now i have removed other three jar files and have only one jar i.e.
postgresql-8.4-701.jdbc4.jar
as told above that it is backward compatible with Postgresql 8.3 and using
jdk1.6. I have added the jar in classpath also in the CLASSPATH variable of
/etc/environment file. Still I am getting exception :
java.lang.ClassNotFoundException:
org.postgresql.Driver.
A statement just above the line :
Class.forName("org.postgresql.Driver");
is executed and goes to the catch block.
Now what could be the issue? Still what am i doing wrong or missing?
Please help.
--
Regards,
Manohar Bhattarai (मनोहर भट्टराई)
Blogs:
http://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/manoharmailme
Identi.ca :- http://identi.ca/manoharbhattarai
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Grittner | 2010-06-02 13:49:35 | Re: Not able to connect to postgresql database |
| Previous Message | Jason Tesser | 2010-06-02 10:10:39 | Re: Found a Bug in latest Driver (I THINK) and pg 8.4 |