完美解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource的问题

文章目录

  • 1. 复现问题
  • 2. 分析问题
  • 3. 解决问题
  • 4. 总结问题

1. 复现问题

今天在启动项目时,遇到如下问题:

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

你可能感兴趣的:(后端开发技术的解决方法,spring,java,mysql,spring,boot,后端)