Failed to auto-configure a DataSource: 'spring.datasource.url' is not specif

Failed to auto-configure a DataSource: 'spring.datasource.url' is not specifspring

fix:url

//經過禁用指定的自動化配置來避免加載沒必要要的自動化配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
相關文章
相關標籤/搜索