정리노트/메모

ClassNotFoundException 해결 방법(ContextLoaderListener)

망고고래 2024. 6. 17. 12:01

1. Servers → Tomcat 우클릭 → Clean

 

2. Java Build Path

프로젝트 우클릭 → Properties → Java Build Path → Order and Export Tab

 

라이브러리 모두 체크

이후 Clean, Build 후 재실행

 

 

3. [Proejct] → [Build Automatically]

체크되어있는지 확인

 

 

4. Deployment Assembly

프로젝트 우클릭 → Properties → Deployment Assembly

Maven Dependency 있는지 확인

없으면 [Add] → [Java Build Path] 들어가서 추가

 

위의 방법으로 안 될 경우 다른 방법도 추가작성