package com.kwan.springbootkwan; import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.socket.config.annotation.EnableWebSocket; import springfox.documentation.swagger2.annotations.EnableSwagger2; @EnableWebSocket @EnableSwagger2 @EnableScheduling @EnableBatchProcessing @SpringBootApplication public class SpringBootKwanApplication { public static void main(String[] args) { SpringApplication.run(SpringBootKwanApplication.class, args); System.out.println("------------------SpringBootKwan应用启动成功--------------------"); } }