Re: No suitable driver found for jdbc:postgresql [error]

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Jon80 <camilleri(dot)jon(at)gmail(dot)com>
Subject: Re: No suitable driver found for jdbc:postgresql [error]
Date: 2011-07-12 13:57:32
Message-ID: 201107120657.33139.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday, July 12, 2011 6:07:28 am Jon80 wrote:
> On Jul 9, 6:32 pm, rjgonz(dot)(dot)(dot)(at)estrads(dot)com(dot)ar (Rodrigo Gonzalez) wrote:
> > On 07/09/2011 12:56 PM, Jonathan Camilleri wrote:> /Notes for Windows
> > users/
> >
> > http://www.postgresql.org/docs/9.0/static/app-psql.html
>
> How does this link answer my questions?

It answers your first question on where the "Notes for Windows users" is located.

Your second question is a little more involved. From the error message it looks
like your jdbc driver is no being found. Not sure if it a cut and paste error
but you have:

*database.properties*
dbc.drivers=org.postgresql.Driver
jdbc.url=jdbc:postgresql:COREJAVA;create=true
jdbc.username=postgre
jdbc.password=

The first line should be jdbc.drivers=org.postgresql.Driver .

You might have more luck with an answer on the jdbc list:
http://mail.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-
full&extra=pgsql-jdbc
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Prabhat Kumar 2011-07-12 14:24:14 Re: Schema for Website Comments
Previous Message Grace Batumbya 2011-07-12 13:33:25 Re: PostgreSQL JDBC: bytea column getMetaData().getColumns().getIn("COLUMN_SIZE") ~ 2GB