我有一个Spring Boot JPA应用程序,带有spring boot 2.0.3.RELEASE并连接到PostgreSQL,当我运行该应用程序时,我得到以下错误消息:
Failed to configurea DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable</
bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbcFactory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourc
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could beReason: Failed to determine a suitable driver classapplication.propertiesspring.datasource.
driverManagerDataSource.setDriverClassName("org.postgresql.Driver");*****************************************************
Failed to configure a DataSource: '
******************************************************
Failedto configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configuredReason: Failed to determine</e
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could beReason: Failed to determine a suitable driver classspring.d
我有一个Spring Boot应用程序的工作属性文件,但每当我将其转换为Yaml时,我都会得到一个错误,指出数据库url尚未指定。=jdbc:mysql://localhost:3306/db_name?: "jdbc:mysql://localhost:3306/db_name?TO START
Failed to configure a DataSource: 'url</e
bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbcFactory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourc