BAEL-4639 add start class, exclude jobrunr autoconfig
This commit is contained in:
parent
a17886f406
commit
e8ffc2b71a
|
@ -133,6 +133,7 @@
|
||||||
<spring.data.version>2.4.5</spring.data.version>
|
<spring.data.version>2.4.5</spring.data.version>
|
||||||
<jackson-databind.version>0.2.1</jackson-databind.version>
|
<jackson-databind.version>0.2.1</jackson-databind.version>
|
||||||
<springfox.version>2.9.2</springfox.version>
|
<springfox.version>2.9.2</springfox.version>
|
||||||
|
<start-class>com.baeldung.openapi.OpenApiApplication</start-class>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -1,9 +1,12 @@
|
||||||
package com.baeldung.kong;
|
package com.baeldung.kong;
|
||||||
|
|
||||||
|
import org.jobrunr.autoconfigure.JobRunrAutoConfiguration;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
|
@EnableAutoConfiguration(exclude = { JobRunrAutoConfiguration.class})
|
||||||
public class StockApp {
|
public class StockApp {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
Loading…
Reference in New Issue