坑,太坑了

前几天导入一个Spring Boot的项目一直在报错如图
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
出现了上图的错误.
原因:
配置数据源失败:未指定“url”属性,无法配置嵌入的数据源。
如果您想要一个嵌入式数据库(H2、HSQL或Derby),请将其放在类路径上。

如果要从特定配置文件加载数据库设置,则可能需要**它(当前没有**的配置文件)。

纠结了好久终于找到如下解决方法
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

相关文章:

  • 2021-10-19
  • 2021-10-08
  • 2021-11-09
  • 2022-12-23
  • 2021-12-06
猜你喜欢
  • 2021-12-24
  • 2022-12-23
  • 2021-04-18
  • 2021-09-22
  • 2021-04-24
  • 2021-03-31
相关资源
相似解决方案