diff --git a/src/main/java/goormthonUniv/floating/CSVDataLoader.java b/src/main/java/goormthonUniv/floating/CSVDataLoader.java index 68dbe82..c4f138e 100644 --- a/src/main/java/goormthonUniv/floating/CSVDataLoader.java +++ b/src/main/java/goormthonUniv/floating/CSVDataLoader.java @@ -29,7 +29,7 @@ public class CSVDataLoader implements CommandLineRunner { @Override public void run(String... args) throws Exception { System.out.println("CSVDataLoader is running..."); - try(Reader reader = new InputStreamReader(new ClassPathResource("BalanceGame.csv").getInputStream()); + try(Reader reader = new InputStreamReader(new ClassPathResource("csv/BalanceGame.csv").getInputStream()); CSVReader csvReader = new CSVReader(reader)){ String[] line; @@ -43,7 +43,7 @@ public void run(String... args) throws Exception { balanceGameRepository.save(balanceGame); } } - try(Reader reader = new InputStreamReader(new ClassPathResource("TalkSubject.csv").getInputStream()); + try(Reader reader = new InputStreamReader(new ClassPathResource("csv/TalkSubject.csv").getInputStream()); CSVReader csvReader = new CSVReader(reader)){ String[] line; @@ -62,7 +62,7 @@ public void run(String... args) throws Exception { } } - try(Reader reader = new InputStreamReader(new ClassPathResource("MiniGame.csv").getInputStream()); + try(Reader reader = new InputStreamReader(new ClassPathResource("csv/MiniGame.csv").getInputStream()); CSVReader csvReader = new CSVReader(reader)){ String[] line; diff --git a/src/main/resources/BalanceGame.csv b/src/main/resources/BalanceGame.csv deleted file mode 100644 index ffb5b4d..0000000 --- a/src/main/resources/BalanceGame.csv +++ /dev/null @@ -1,2 +0,0 @@ -100억 받기,10억 받기 -5만원 받기,50만원 받기 \ No newline at end of file diff --git a/src/main/resources/MiniGame.csv b/src/main/resources/MiniGame.csv deleted file mode 100644 index 474aa6c..0000000 --- a/src/main/resources/MiniGame.csv +++ /dev/null @@ -1,2 +0,0 @@ -손병호 게임,손가락 접는 게임 -베스킨라벤스31,31걸린 사람이 지는 게임 \ No newline at end of file diff --git a/src/main/resources/TalkSubject.csv b/src/main/resources/TalkSubject.csv deleted file mode 100644 index 8e13d41..0000000 --- a/src/main/resources/TalkSubject.csv +++ /dev/null @@ -1,2 +0,0 @@ -MBTI,mbti를 나누어보세요,first_meeting -어디 살아?,각자의 지역을 말해보세요,small_talk \ No newline at end of file