springboot-
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could
排除此类的autoconfig。启动以后就可以正常运行。
在启动类中
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
大哥说得好
https://www.cnblogs.com/javawxid/p/10949511.html