欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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启动的时候报错,对于这些错,在日志里面有提示
Error starting ApplicationContext. To display the conditions report re-run your application with 'de在这里可以看到,我这里是属于在构建项目的时候选择了sql,但是我没有进行配置,因此加上配置就可以了
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启动成功

相关标签: spring boot