To display the conditions report re-run your application with ‘debug‘ enabled.
作者:互联网
IDEA SpringBoot 报错
To display the conditions report re-run your application with 'debug' enabled.
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
百度翻译
要显示条件报告,请在启用“调试”的情况下重新运行应用程序。
说明:
配置数据源失败:未指定“url”属性,无法配置嵌入式数据源。
原因:无法确定合适的驱动程序类别
行动:
考虑以下事项:
如果您想要一个嵌入式数据库(H2、HSQL或Derby),请将其放在类路径上。
如果要从特定配置文件加载数据库设置,则可能需要激活它(当前没有激活的配置文件)。
进程已完成,退出代码为1
解决方案:
修改application.properties内容
标签:run,embedded,配置文件,数据源,application,report,debug 来源: https://blog.csdn.net/weixin_41544662/article/details/120597212