From 04ae9cb656ad72e19a75d351b2ef109abe43a70c Mon Sep 17 00:00:00 2001 From: coco3x Date: Sun, 1 Dec 2024 00:24:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20jar=EC=97=90=EC=84=9C=20File=20=EC=8B=9C?= =?UTF-8?q?=EC=8A=A4=ED=85=9C=EC=9D=B4=20=EC=95=84=EB=8B=8C=20InputStream?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=ED=8C=8C=EC=9D=BC=EC=9D=84=20=EC=9D=BD?= =?UTF-8?q?=EC=9D=84=20=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/whoz_in/log_writer/config/NetworkConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/infrastructure/log-writer/src/main/java/com/whoz_in/log_writer/config/NetworkConfig.java b/modules/infrastructure/log-writer/src/main/java/com/whoz_in/log_writer/config/NetworkConfig.java index 89d4d924..b6ddef16 100644 --- a/modules/infrastructure/log-writer/src/main/java/com/whoz_in/log_writer/config/NetworkConfig.java +++ b/modules/infrastructure/log-writer/src/main/java/com/whoz_in/log_writer/config/NetworkConfig.java @@ -32,7 +32,7 @@ public NetworkConfig(@Value("${spring.profiles.active:default}") String profile, //JSON 파일 읽기 try { - map = mapper.readValue(resource.getFile(), Map.class); + map = mapper.readValue(resource.getInputStream(), Map.class); } catch (IOException e) { throw new RuntimeException(jsonPath + " 로드 실패"); }