struts 관련 xml이 컴파일되지 않을 경우 발생 에러
struts로 생성한 객체가 없는데 관련url로 호출할 떄 발생하는 것으로 보임
2019. 6. 20 ▒▒▒▒ 9:43:17 org.apache.catalina.core.StandardWrapperValve invoke
▒ɰ▒: Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError: org/apache/struts2/util/ClassLoaderUtils
at org.apache.struts2.codebehind.CodebehindUnknownHandler.locateTemplate(CodebehindUnknownHandler.java:256)
at org.apache.struts2.codebehind.CodebehindUnknownHandler.handleUnknownAction(CodebehindUnknownHandler.java:99)
at com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownAction(DefaultUnknownHandlerManager.java:111)
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:182)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.dsunfold.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
'Web 개발 > 간단한 팁' 카테고리의 다른 글
[팁] JUnit 에러 : java.lang.NoClassDefFoundError (0) | 2019.11.07 |
---|---|
ASP include (0) | 2019.07.19 |
Ubuntu Timezone 설정하기 (0) | 2018.07.31 |
AWS에 로컬 파일전송하기 (scp) (0) | 2018.07.29 |
[팁] JSP 현재 페이지 EL로 받기 (0) | 2018.02.20 |