Problem Description:
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
problem analysis:
1. The project uses multiple data sources, but the default single data source configuration class used by the configuration class does not support multiple data sources, resulting in an error.
Solution:
The Application class plus the following configuration excludes the default single data source configuration class.
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})