Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.解决办法:
将上图配置改成
spring: datasource: # 配置数据源 driver-class-name: com.mysql.jdbc.Driver # 使用druid连接池 type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://127.0.0.1:3306/zcpc-auction?characterEncoding=utf-8&autoReconnect=true&failOverReadOnly=false&useSSL=true username: root password: 123456