Failed to configure a DataSource: no embedded datasource could be configured. code example
Example 1: failed to determine a suitable driver class
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
Example 2: failed to determine a suitable driver class
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
Example 3: 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