1. 程式人生 > >Failed to auto-configure a DataSource: 'spring.datasource.url' is not specif

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

開發十年,就只剩下這套架構體系了! >>>   

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

fix:

//通過禁用指定的自動化配置來避免載入不必要的自動化配置
@SpringBootApplication(exclude = {DataSourceAutoCo