반응형
java.lang.ClassNotFoundException
대부분이 상단바에 있는 Project > Clean 을 하면 해결이 된다 하는데 저는 해결이 되지 않았었습니다.
저 같은 경우에는 ex_06.OverrideTest 파일 때문에 실행이 안되었으니
우선 문제 원인인 파일을 선택 후 우클릭하고 Properties에 들어갑니다.
Run/Debug Settings 클릭 > OverrideTest 파일 클릭 (지금은 해결이 되어서 뜨지 않는군요.)
Dependencies 클릭 > JRE System Library를 Up 시켜주고 Apply > OK 를 눌렀더니 해결되었습니다.
반응형
'프로그래밍 > 에러 노트' 카테고리의 다른 글
Spring Boot_Binding Exception (2) | 2023.04.19 |
---|---|
에러노트_java.lang.reflect.InaccessibleObjectException: Unable to make public : modu (0) | 2023.03.15 |
MySQL_java.lang.ClassNotFoundException: com.mysql.jdbc.Driver (3) | 2023.03.13 |
NullPointerException : Cannot invoke "java.util.List.add(Object)" because "" is null (0) | 2023.02.21 |
Java 에러노트_Cannot instantiate the type 에러 (1) | 2023.02.16 |