7月 16, 2020 3:06:20 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [servlet.WxServlet] in context with path [/weixin] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
at service.WxService.chat(WxService.java:194)
at service.WxService.dealTextMessage(WxService.java:168)
at service.WxService.getRsponse(WxService.java:113)
at servlet.WxServlet.doPost(WxServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:501)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol C o n n e c t i o n H a n d l e r . p r o c e s s ( A b s t r a
严重: Servlet.service() for servlet [servlet.WxServlet] in context with path [/weixin] threw exception
最新推荐文章于 2024-10-04 07:08:17 发布
博客内容讲述了在Java Web应用中遇到Servlet执行异常,具体为ClassNotFoundException: net.sf.ezmorph.Morpher。这个问题发生在servlet.WxServlet的service方法中,可能是由于类加载器无法找到指定的类导致。错误堆栈跟踪显示异常源自WxService类的多个方法,包括chat、dealTextMessage和getRsponse。博主寻求解决方案。
摘要由CSDN通过智能技术生成