SpringBootKwanApplication.java 641 字节
Newer Older
Q
qinyingjie 已提交
1
package com.kwan.springbootkwan;
2

Q
qinyingjie 已提交
3
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
Q
qinyingjie 已提交
4
import org.springframework.boot.SpringApplication;
Q
qinyingjie 已提交
5

Q
qinyingjie 已提交
6
import org.springframework.boot.autoconfigure.SpringBootApplication;
Q
qinyingjie 已提交
7
import org.springframework.scheduling.annotation.EnableScheduling;
Q
qinyingjie 已提交
8

Q
qinyingjie 已提交
9
@EnableScheduling
Q
qinyingjie 已提交
10
@SpringBootApplication
Q
qinyingjie 已提交
11
@EnableBatchProcessing
Q
qinyingjie 已提交
12 13 14 15
public class SpringBootKwanApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootKwanApplication.class, args);
16
        System.out.println("------------------SpringBootKwan应用启动成功--------------------");
Q
qinyingjie 已提交
17 18 19
    }

}