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

Q
qinyingjie 已提交
3
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
Q
qinyingjie 已提交
4 5
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Q
qinyingjie 已提交
6
import org.springframework.scheduling.annotation.EnableScheduling;
7
import org.springframework.web.socket.config.annotation.EnableWebSocket;
8
import springfox.documentation.swagger2.annotations.EnableSwagger2;
Q
qinyingjie 已提交
9

10
@EnableWebSocket
11
@EnableSwagger2
Q
qinyingjie 已提交
12
@EnableScheduling
Q
qinyingjie 已提交
13
@EnableBatchProcessing
14
@SpringBootApplication
Q
qinyingjie 已提交
15 16 17 18
public class SpringBootKwanApplication {

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