Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
Disconnected from the target VM, address: ‘127.0.0.1:52035’, transport: ‘socket’
2019-07-12 09:47:04.380 ERROR 6584 — [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be 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
其中的测试环境的yml我没有配置,在默认的yml中却写了引用到sit 的找不到这个所以报错,其他的错误参考一下链接
https://www.jianshu.com/p/836d455663da