Programing/오류 해결

Error configuring application listener of class 오류 해결방안 - Maven Update...

- 광속거북이 - 2021. 7. 6. 10:34
반응형
SMALL

심각: Error configuring application listener of class com.~~~~~~~~.comn.listener.DynamicBatchLoaderListener
java.lang.ClassNotFoundException: com.~~~~~~~~~~.comn.listener.DynamicBatchLoaderListener
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1700)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1690)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

7월 06, 2021 10:11:05 오전 org.apache.catalina.core.StandardContext listenerStart
심각: Error configuring application listener of class com.~~~~~~~~~~.comn.listener.EventSessionListener
java.lang.ClassNotFoundException: com.~~~~~~~~.comn.listener.EventSessionListener
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1700)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1690)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

7월 06, 2021 10:11:05 오전 org.apache.catalina.core.StandardContext listenerStart
심각: Error configuring application listener of class com.~~~~~~~~.comn.listener.CommonContextLoaderListener
java.lang.ClassNotFoundException: com.~~~~~~~~~.comn.listener.CommonContextLoaderListener
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1700)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1690)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

이클립스로 소스 개발중에 자바단 관련해서 수정하다보면

 

가끔 재시작할때 위와 같은 오류가 발생하고

 

 

이렇게 프로젝트가 실행이 안되는 경우가 있습니다.

 

이럴때는 maven 업데이트를 해주고 프로젝트를 재시작 해주면 해결 가능합니다!

 

maven 업데이트

 

 

프로젝트 우클릭 -> Maven -> Update Project... 클릭!

 

그럼 Maven 업데이트가 진행 됍니다.

 

그 후에

 

상단 메뉴에서 Project -> Properties 로 들어갑니다.

 

그리고 Deploment Assembly 로 들어가서 Add... 를 클릭해서 

Java Build Path Entries 를 선택 후 Maven Dependencies 를 선택해서 Finish 를 클릭해 줍니다.

 

그러면 위와 같이 Maven 이 추가된 것을 확인 할 수 있습니다.

 

이제 Apply 클릭 후 OK를 선택해서 다 설정해 준 후에

 

프로젝트를 재시작하면 정상 작동하는것을 확인 할 수 있습니다.

반응형