Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
xmanrachman
TRIAL
7 months ago
I have error after deploy spring boot app. my error is configured url connection datasource.
This is my setting datasource on my spring boot.
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=none
spring.jpa.hibernate.show-sql=true
spring.datasource.driverClassName=org.postgresql.Driver
spring.datasource.driver-class-name=org.postgresql.Driver
####### private setting server datasource
spring.datasource.url=jdbc:postgresql://postgres.railway.internal:5432/railway
spring.datasource.username=postgres
spring.datasource.password=SouTFotXVRMCqBeMRWskmRtlfrtVdfAi
Please help what i'm missing ?
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies