Application failed to start

Error recurrence

Cause: the database related auto configuration library was imported, but the database was not configured in the configuration file.
solution: just exclude the database and add the following on the startup class annotation:

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)

Read More: