SpringBoot 項目啓動出錯:Failed to configure a DataSource: 'url' attribute is not specified and no embedde

不廢話,直接上解決方案:html 在springboot的啓動類@SpringBootApplication上作點改動,以下:spring   @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) public class ErdemoApplication { public static void main
相關文章
相關標籤/搜索