springboot项目启动时,或者clean项目后install打包项目的时候出现以下原因

Failed to configure a DataSource: 'url' attribute is not specified and no embedde异常

由于项目中没有配置:

Failed to configure a DataSource: 'url' attribute is not specified and no embedde异常

导致Failed to configure a DataSource: 'url' attribute is not specified and no embedde异常没有及时编译这些配置文件,所以导致文件找不到,加上即可解决bug

若还不行,先删除项目中的target目录,在重新启动项目,重新编译一遍即可

相关文章:

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