您的位置: 首页 > 文章 > Spring Boot 启动错误:Error starting ApplicationContext. To display the conditions report re-run your app Spring Boot 启动错误:Error starting ApplicationContext. To display the conditions report re-run your app 分类: 文章 • 2024-11-28 18:45:28 坑,太坑了 前几天导入一个Spring Boot的项目一直在报错如图 出现了上图的错误. 原因: 配置数据源失败:未指定“url”属性,无法配置嵌入的数据源。 如果您想要一个嵌入式数据库(H2、HSQL或Derby),请将其放在类路径上。 如果要从特定配置文件加载数据库设置,则可能需要**它(当前没有**的配置文件)。 纠结了好久终于找到如下解决方法 这样就可以啦!