Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-11-10 11:03:50.498 ERROR 2844 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'spring.datasource.type' to java.lang.Class
Property: spring.datasource.type
Value: com.alibaba.druid.pool.DruidDataSource
Origin: class path resource [config/application-dev.yml]:12:11
Reason: No converter found capable of converting from type [java.lang.String] to type [java.lang.Class
Action:
Update your application's configuration
我的依赖里面是没有com.alibaba.druid.pool.DruidDataSource
在pom文件中添加连接池依赖
已经导入进来了



