From a4f2e393a8cd6b629a6e4ff56ab4e76222e959c5 Mon Sep 17 00:00:00 2001 From: KEISS <86196038+ImKEISS@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:06:14 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EC=82=AD=EC=A0=9C=EB=90=9C=20=EC=8A=A4?= =?UTF-8?q?=EC=BC=80=EC=A4=84=EB=A7=81=20=EC=84=A4=EC=A0=95=20=EB=8B=A4?= =?UTF-8?q?=EC=8B=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @EnableScheduling 어노테이션 추가 --- src/main/java/com/appcenter/BJJ/BjjApplication.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/appcenter/BJJ/BjjApplication.java b/src/main/java/com/appcenter/BJJ/BjjApplication.java index f9f8e15..d959529 100644 --- a/src/main/java/com/appcenter/BJJ/BjjApplication.java +++ b/src/main/java/com/appcenter/BJJ/BjjApplication.java @@ -4,12 +4,14 @@ import io.swagger.v3.oas.annotations.servers.Server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.scheduling.annotation.EnableScheduling; //API의 기본 서버 url을 애플리케이션의 루트 경로로 설정 @OpenAPIDefinition(servers = { @Server(url = "/", description = "Default Server URL") }) @SpringBootApplication +@EnableScheduling public class BjjApplication { public static void main(String[] args) { SpringApplication.run(BjjApplication.class, args);