합쭈기 programming

[Spring]java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 본문

Java/Spring

[Spring]java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

innocent_k 2018. 12. 3. 22:27
심각: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)

	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533)

	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525)

	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507)

	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:124)

	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4701)

	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)

	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525)

	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515)

	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

	at java.util.concurrent.FutureTask.run(FutureTask.java:138)

	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

	at java.lang.Thread.run(Thread.java:662)

 

위와 같은 오류가 뜬다 싶으면 프로젝트 

properties > Deployment Assembly에서 Add > Java Build Path Entries로

maven dependencies를 추가 해준다. 

 

참고로 기존 JRebel 사용중이면 이녀석이 설정 꼬임의 주 원인일 수 있다. 

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

[SQL Map] sqlmap 사용 방법  (1) 2015.07.29
이클립스에서 svn 특정 폴더 제외  (0) 2015.07.22
mutipart resolver 안될때  (0) 2015.06.19
maven 빌드 시 junit test 제외  (0) 2015.06.18
url filter setting  (0) 2015.06.17