Error - java.io.FileNotFoundException: The system cannot find the file specified 해결방법

CODEDRAGON Development/Java

반응형


 

 

에러 메시지

java.io.FileNotFoundException: The system cannot find the file specified

 

java.io.FileNotFoundException: vehicledata.arff (The system cannot find the file specified)

at java.io.FileInputStream.open0(Native Method)

at java.io.FileInputStream.open(FileInputStream.java:195)

at java.io.FileInputStream.<init>(FileInputStream.java:138)

at java.io.FileInputStream.<init>(FileInputStream.java:93)

at java.io.FileReader.<init>(FileReader.java:58)

at MLPProcessor.<init>(MLPProcessor.java:16)

at MLPProcessor.main(MLPProcessor.java:60)

 

 

 

 

 

해결방법

.arff 파일이 src 폴더가 아닌 프로젝트 루트 폴더에 있는지 확인하시기 바랍니다.

src 폴더에 있는 파일을 프로젝트 루트 폴더로 옮기면 해결됩니다.


 

 


 


반응형

'Development > Java' 카테고리의 다른 글

인터페이스의 추상 메소드 구현시 TIP  (0) 2020.02.08
결측속성 삭제를 위한 결측률 찾기  (0) 2020.02.01
ThreadGroup(스레드 그룹)  (0) 2020.01.20
과적합 검증  (0) 2020.01.13
초기화 블록 종류  (0) 2020.01.07