SpringBoot项目 打包后运行时提示以下错误:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

看到错误首先排查了配置嵌入的数据源。

SpringBoot项目:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded...

检查了几个数据库配置文件突然看到了配置的mysql数据源格式有问题,加空格格式化后解决。

SpringBoot项目:Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded...

相关文章:

  • 2021-10-03
  • 2021-07-24
  • 2021-10-24
  • 2021-10-07
  • 2021-10-10
猜你喜欢
  • 2021-10-04
  • 2021-08-03
  • 2021-10-19
相关资源
相似解决方案