BAEL-4639 add start class, exclude jobrunr autoconfig

This commit is contained in:
Loredana Crusoveanu 2022-10-03 17:03:53 +03:00
parent a17886f406
commit e8ffc2b71a
2 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,7 @@
<spring.data.version>2.4.5</spring.data.version>
<jackson-databind.version>0.2.1</jackson-databind.version>
<springfox.version>2.9.2</springfox.version>
<start-class>com.baeldung.openapi.OpenApiApplication</start-class>
</properties>
</project>

View File

@ -1,9 +1,12 @@
package com.baeldung.kong;
import org.jobrunr.autoconfigure.JobRunrAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableAutoConfiguration(exclude = { JobRunrAutoConfiguration.class})
public class StockApp {
public static void main(String[] args) {