package com.bcxin.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author task
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
        // 添加 Kafka 相关的自动配置排除
        org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration.class },scanBasePackages = {"com.bcxin.platform","com.bcxin.obpm"})
public class Application
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(Application.class, args);
        System.out.println(" 项目启动成功 ");
    }
}