转:https://blog.csdn.net/m0_37900506/article/details/114780560

    @EnableApi2Doc
    @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class })
    @EnableDiscoveryClient
    @EnableFeignClients
    @ComponentScan(basePackages={“com.toyor.hpqsharecloud.web,com.toyor.hpqsharecloud.common”})
    public class HpqsharecloudWebApplication {

    public static void main(String[] args) {
    SpringApplication.run(HpqsharecloudWebApplication.class, args);
    }

    }