Answers for "mongodb 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"

0

Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded datasource could be auto-configured.

Add below line to application.properties

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
Posted by: Guest on May-26-2020
0

Failed to determine a suitable driver class mongodb

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
Posted by: Guest on April-28-2020

Code answers related to "mongodb 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"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language