#BAEL-3176: add main Spring Boot class

This commit is contained in:
h_sharifi 2022-10-12 13:43:01 +03:30
parent f910b8ac9a
commit 66a0babdfd
1 changed files with 15 additions and 0 deletions
spring-batch/src/main/java/com/baeldung/batch/springboot

View File

@ -0,0 +1,15 @@
package com.baeldung.batch.springboot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringBatchApplication {
public static void main(String[] args) {
SpringApplication springApp = new SpringApplication(SpringBatchApplication.class);
springApp.setAdditionalProfiles("spring-boot");
springApp.run(args);
}
}