fix: 엑셀 파일 경로 구분자를 File.separator로 변경 (Linux 환경 FileNotFoundException 수정)

Windows 백슬래시(\) 하드코딩으로 Linux 환경에서 파일을 찾지 못하는 버그 수정
- 11개 파일, 15군데 path+"\\"+fileName → path + File.separator + fileName
- File import 누락된 4개 파일에 import 추가

Made-with: Cursor
This commit is contained in:
2026-03-03 13:41:21 +09:00
parent 2dc3f34b39
commit ea5c6d53a7
11 changed files with 19 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
package com.pms.utility;
import java.io.File;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
@@ -58,7 +59,7 @@ public class WBSParsingUtil {
List resultList = new ArrayList();
FileInputStream fis = new FileInputStream(path+"\\"+fileName);
FileInputStream fis = new FileInputStream(path + File.separator + fileName);
XSSFWorkbook workBook = new XSSFWorkbook(fis);
XSSFSheet sheet = workBook.getSheetAt(0);
Connection conn = null;