Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-08-19 23:46:51.507 ERROR 13304 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded datasource could be auto-configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Process finished with exit code 1
spring.datasource.url' is not specified and no embedded datasource could be auto-configured.
翻译:“spring.datasource。未指定url',也无法自动配置嵌入式数据源。
解决方法:检查application.ym
l中的数据库连接信息是否正确
2 comments
学习了
互相学习