A quick google search shows that the URL for the postgres connection is of the 
form:
*         jdbc:postgresql://host:port/database

You probably want something like
                Jdbc:postgresql://myserver:5432/mydatabase

see this link for more info:
https://jdbc.postgresql.org/documentation/80/connect.html

Hope this helps

Cheers,
Graham

From: Patrick L Jones <p...@mitre.org>
Sent: Thursday, 12 August 2021 12:31 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Cannot create JDBC driver of class 
'org.postgresql.Driver'

Greetings,

            When I try to create a Vector Data Store I get the following error:

Error creating data store, check the parameters. Error message: Unable to 
obtain connection: Cannot create JDBC driver of class 'org.postgresql.Driver' 
for connect URL 
'jdbc:postgresql://https://xx.x.xxx.xxx:xxxx/mout?sslmode=ALLOW&binaryTransferEnable=bytea'

            Any thoughts on how to get past this?
I'm using  *  GeoServer Version 2.19.0


Thank you,

________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to