From 2d4ec76e41ddb313f5b708345718537a746b79a9 Mon Sep 17 00:00:00 2001 From: hyojin425 Date: Tue, 13 Aug 2024 18:04:46 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20@PropertySource=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/stepperbackend/StepperBackendApplication.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/example/stepperbackend/StepperBackendApplication.java b/src/main/java/com/example/stepperbackend/StepperBackendApplication.java index d3c7317..00a2ffb 100644 --- a/src/main/java/com/example/stepperbackend/StepperBackendApplication.java +++ b/src/main/java/com/example/stepperbackend/StepperBackendApplication.java @@ -2,8 +2,10 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.PropertySource; @SpringBootApplication +@PropertySource(value = {"env.properties"}) public class StepperBackendApplication { public static void main(String[] args) {