SpringBoot 扫描配置 Application

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.example.controller"})

猜你喜欢

转载自blog.csdn.net/qq_25635139/article/details/85031928