Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could

在启动类中添加

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)

你可能感兴趣的:(eurake,spring,boot,spring,java,spring,boot)