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?