Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-01-03 10:52:46.766 ERROR 2513 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target org.springframework.boot.autoconfigure.jdbc.DataSourceProper

在启动应用程序时遇到错误,由于尝试将配置属性'spring.datasource.type'的值'com.mysql.jdbc.Driver'转换为'java.lang.Class'失败。问题源于配置文件中spring.datasource.type的设置错误,数据库类型被设置为NONE。解决方法是更新应用程序的配置,确保数据源类型正确。
最低0.47元/天 解锁文章
5030





