更新时间:2023-01-11 11:11:19
看起来最初的问题是自动配置。
Looks like the initial problem is with the auto-config.
如果您不需要数据源,只需将其从自动配置过程中删除:
If you don't need the datasource, simply remove it from the auto-config process:
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})