#BAEL-3176: add main Spring Boot class
This commit is contained in:
parent
f910b8ac9a
commit
66a0babdfd
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue