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 + " 로드 실패"); }