pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Right version of jdbc
Date: Thu, 28 Sep 2023 09:48:57 -0600
Message-ID: <e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com> (raw)
In-Reply-To: <CAMH5fpvm2iuDKwFXsN0fw0C3hFbFaj-0m6Tgnb1kgXDkVarj=Q@mail.gmail.com>
References: <CAMH5fpvOLsahAhFFkswqi7_TEwgUroURFjRXex+ujWAn3FR6Yg@mail.gmail.com>
	<CADK3HHJYTNhi-Sa4by0PNLVDhHLiGwVKOQynCqQJjhVXjPuwig@mail.gmail.com>
	<CAMH5fptL3W-==pBWgOyEMJ5s-H-_1dfF7q7WkgQi+h0QPbhEyw@mail.gmail.com>
	<CADK3HHJ8r8JWpDS6JuHOYrGEonLRO7ET1=1iLnd6CNHRhAxo7A@mail.gmail.com>
	<CAMH5fpvm2iuDKwFXsN0fw0C3hFbFaj-0m6Tgnb1kgXDkVarj=Q@mail.gmail.com>

On 9/28/23 09:41, Raivo Rebane wrote:
> Now I changed the Postgres Server to version 15 and making Tomcat 9.0 
> project.
> Now I am using postgresql-42.6.0.jar driver, but Tomcat gives error :
> java.sql.SQLException: No suitable driver found for 
> jdbc:postgresql://localhost:5432/mushroom_database
> What driver I have to use for suitable driver.
> Or must I downgrade my postgres version ?
>

Can you show the code you use to make the database connection?







view thread (43+ messages)  latest in thread

Message-ID: <e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com>
Permalink:  ../e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com/
Also on:    postgresql.org/message-id/e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Right version of jdbc
  In-Reply-To: <e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com>
  References: <CAMH5fpvOLsahAhFFkswqi7_TEwgUroURFjRXex+ujWAn3FR6Yg@mail.gmail.com> <CADK3HHJYTNhi-Sa4by0PNLVDhHLiGwVKOQynCqQJjhVXjPuwig@mail.gmail.com> <CAMH5fptL3W-==pBWgOyEMJ5s-H-_1dfF7q7WkgQi+h0QPbhEyw@mail.gmail.com> <CADK3HHJ8r8JWpDS6JuHOYrGEonLRO7ET1=1iLnd6CNHRhAxo7A@mail.gmail.com> <CAMH5fpvm2iuDKwFXsN0fw0C3hFbFaj-0m6Tgnb1kgXDkVarj=Q@mail.gmail.com> <e33be4f7-1086-c55c-b5bf-aa8c50ccabd1@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox