Gostaria de me conectar ao Postgres SQL apenas para teste, no entanto, não estou conseguindo. 1° tentativa:
#Configuração do BD Postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/vollmed?currentSchema=public
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driverClassName=org.postgresql.Driver
2° tentativa:
spring.datasource.url=jdbc:postgresql://localhost:5432/vollmed?currentSchema=public
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driver-class-name=org.postgresql.Driver
3° tentativa:
#Configuração do BD Postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/vollmed?currentSchema=public
spring.datasource.username=postgres
spring.datasource.password=postgres
Erro:
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Tentei usando todas as versões do Spring 3.x.x, alguma ajuda?