-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
Hi,
I am trying to upgrade a spring boot web mvc 3.5.8 application to 4.0.0 (jdk 25, tomcat 11)
I have the configuration of posgresql in an external tomcat context.xml file :
<Parameter name="spring.datasource.url" value="jdbc:postgresql://localhost:5432/ruchesdev" />
<Parameter name="spring.datasource.username" value="postgres" />
<Parameter name="spring.datasource.password" value="postgres" />
with spring boot 3.5.8 it works but not with spring boot 4.0.0, to make it work I am obliged to put this configuration in application.properties :
spring.datasource.url=jdbc:postgresql://localhost:5432/ruchesdev
spring.datasource.username=postgres
spring.datasource.password=postgres
The error in eclipse console is :
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
In fact I have the same problem with other parameters like :
<Parameter name="spring.jpa.properties.hibernate.id.db_structure_naming_strategy"
value="single" />
Thanks for your help,
Pierre
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release