Error starting ApplicationContext. To display the conditions report re-run your application with 'de
程序员文章站
2022-03-08 17:53:27
...
springboot启动报错
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-01-20 15:59:29.315 ERROR 14448 --- [ restartedMain] 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 0
springboot启动的时候报错,对于这些错,在日志里面有提示
在这里可以看到,我这里是属于在构建项目的时候选择了sql,但是我没有进行配置,因此加上配置就可以了
再次启动
启动成功
推荐阅读
-
SpringBoot报错:Error starting ApplicationContext. To display the conditions report...........
-
springboot错误:Error starting ApplicationContext. To display the conditions report re-run your applica
-
ApplicationContext.To display the conditions report re-run your application with ‘debug‘ enabled
-
springboot启动报错,Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
-
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
-
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
-
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
-
Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
-
Error starting ApplicationContext. To display the conditions report re-run your application with 'de
-
ApplicationContext.To display the conditions report re-run your application with ‘debug‘ enabled