From e8ffc2b71a0fd1ccb72f9ee246ee27e338e29784 Mon Sep 17 00:00:00 2001 From: Loredana Crusoveanu Date: Mon, 3 Oct 2022 17:03:53 +0300 Subject: [PATCH] BAEL-4639 add start class, exclude jobrunr autoconfig --- spring-boot-modules/spring-boot-libraries-2/pom.xml | 1 + .../src/main/java/com/baeldung/kong/StockApp.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/spring-boot-modules/spring-boot-libraries-2/pom.xml b/spring-boot-modules/spring-boot-libraries-2/pom.xml index 79c090dde5..de4e879089 100644 --- a/spring-boot-modules/spring-boot-libraries-2/pom.xml +++ b/spring-boot-modules/spring-boot-libraries-2/pom.xml @@ -133,6 +133,7 @@ 2.4.5 0.2.1 2.9.2 + com.baeldung.openapi.OpenApiApplication \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-libraries-2/src/main/java/com/baeldung/kong/StockApp.java b/spring-boot-modules/spring-boot-libraries-2/src/main/java/com/baeldung/kong/StockApp.java index f901592938..b46d7ca9b0 100644 --- a/spring-boot-modules/spring-boot-libraries-2/src/main/java/com/baeldung/kong/StockApp.java +++ b/spring-boot-modules/spring-boot-libraries-2/src/main/java/com/baeldung/kong/StockApp.java @@ -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) {