org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class
발생 원인 : class파일을 찾을 수 없다
Case 1) 참조하려는 class파일의 경로와 다른 경로를 잡고 빌드 or 서버를 구동했다
-> 참조 경로와 대상이 되는 class의 경로 확인
Case 2) 구동 중인 서버를 내리고 정상 동작하던 소스에 'xxx.class' 파일을 끼워 넣었다
-> 경로 이탈 or 폴더명 오타 확인
728x90
반응형
'JAVA' 카테고리의 다른 글
Spring Boot + MyBatis(mariaDB) settings (0) | 2023.09.08 |
---|---|
JAVA toString()과 String.valueOf() 차이점 (0) | 2021.01.14 |