Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-04-18 15:24:09.280 ERROR 20200 --- [ 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).
Disconnected from the target VM, address: '127.0.0.1:62636', transport: 'socket'
Process finished with exit code 1
原因:在pom.xml里引用了某个数据源但是配置文件里并没有相关配置,注意:也有可能是引用的某个jar包报的这个错,所以,好好检查一下自己打得jar包吧。(╥╯^╰╥)