SpringCloud 启动ERROR :Failed to configure a DataSource: 'url' attribute is not specified 

SpringCloud 启动ERROR

解决方法一:在启动类头部声明:@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})

SpringCloud 启动ERROR

方法二:pom.xml里导入了其它工程的依赖,去调一些不恰当的依赖

SpringCloud 启动ERROR

 

相关文章:

  • 2021-12-27
  • 2021-07-09
  • 2021-11-29
  • 2021-12-24
  • 2021-10-26
  • 2021-07-18
猜你喜欢
  • 2021-07-09
  • 2022-02-27
  • 2021-09-24
  • 2022-12-23
  • 2021-04-27
  • 2021-09-09
相关资源
相似解决方案