spring-javax.servlet.ServletException

问题描述

javax.servlet.ServletException

Tomcat + SSH

javax.servlet.ServletException: Error instantiating servlet class com.callqueue.util.ScreenRecording
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:619)

root cause

javax.naming.NamingException: Cannot create resource instance
org.apache.naming.factory.ResourceEnvFactory.getObjectInstance(ResourceEnvFactory.java:115)
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
org.apache.naming.NamingContext.lookup(NamingContext.java:842)
org.apache.naming.NamingContext.lookup(NamingContext.java:153)
org.apache.naming.NamingContext.lookup(NamingContext.java:830)
org.apache.naming.NamingContext.lookup(NamingContext.java:167)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:619)

解决方案

com.callqueue.util.ScreenRecording 这个类的代码贴出来看看

解决方案二:

谢谢你的答复,我发现这个在tomcat运行一会后再调用就不会有问题,应该是刚刚运行的时候,Servlet没有初始化完成导致的。结贴

时间: 2024-09-15 13:55:20

spring-javax.servlet.ServletException的相关文章

求问怎么解决?javax.servlet.ServletException

问题描述 求问怎么解决?javax.servlet.ServletException javax.servlet.ServletException: Could not resolve view with name 'employeeLog/emWorkLogDisplay' in servlet with name 'employeeLogManagement' org.springframework.web.servlet.DispatcherServlet.render(Dispatche

500错误-HTTP Status500 javax.servlet.ServletException: java.lang.Error

问题描述 HTTP Status500 javax.servlet.ServletException: java.lang.Error type Exception report message javax.servlet.ServletException: java.lang.Error: 无法解析的编译问题: description The server encountered an internal error that prevented it from fulfilling this

javax.servlet.ServletException: Request[/usergetinfo] does not contain handler parameter named 'para

错误介绍:1:找不到配置的(DispatchAction)方法参数,或者其他参数.  eg:parameter="method":                    2:过滤器中" chain.doFilter(request,response);"传递不了下一个过滤器中或者,进入请求中. 异常详细信息: 2015-01-16 17:18:02,424 ERROR org.apache.struts.actions.DispatchAction Request[

javax.servlet.ServletException: Original response not availabl异常:javax.servlet.ServletException: Original response not available

问题描述 在weblogic下部署的应用,在未改动程序的情况下,突然就开始一直报javax.servlet.ServletException:Originalresponsenotavailable异常.<Feb18,20089:21:18AMCST><Error><HTTP><BEA-101018><[ServletContext(id=32787110,name=bbs,context-path=/bbs)]ServletfailedwithSer

tomcat-SERVLET出错javax.servlet.ServletException: Servlet

问题描述 SERVLET出错javax.servlet.ServletException: Servlet 解决方案 看看你的servlet是不是循环调用了,死循环了. 解决方案二: 栈溢出,myserver的doget方法循环调用导致内存耗尽.

jsp web html-HTTP Status 500 - javax.servlet.ServletException

问题描述 HTTP Status 500 - javax.servlet.ServletException type Exception report message javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/lucene/search/Query description The server encountered an internal error that prevented it

抛出的异常:javax.servlet.ServletException: Report Tag:GenerateAndShow:错误!

问题描述 今天安装websphere6.0和普元EOS5.3系统上的增删改查和工作流都是好的,但使用的普元报表开发的界面菜单点击页面上会报500错误.后天报如下错误.[2/27/1511:28:07:610CST]0000003eSystemOutO2015-02-2711:28:07:610[REPORTSERVER]ReportServerstarting...[2/27/1511:28:07:612CST]0000003eServletWrappeESRVE0068E:未捕获到servle

JDK版本问题导致的javax.servlet.ServletException: Cannot f

这是我这几天遇到的一个问题,最后发现是一个低级的错误,不过还是值得记录下来:1.问题现象:我在Eclipse通过MyEclipse创建一个WebProject,使用Struts1.2.在Eclipse运行没有问题,于是就是用Eclipse的Export功能,导出为一个war文件,将该war文件解压后放到了Tomcat的webapps目录,启动tomcat.访问时在浏览器中就遇到了问题: javax.servlet.ServletException: Cannot find ActionMappi

JDK版本问题导致的javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection

这是我这几天遇到的一个问题,最后发现是一个低级的错误,不过还是值得记录下来:1.问题现象:我在Eclipse通过MyEclipse创建一个WebProject,使用Struts1.2.在Eclipse运行没有问题,于是就是用Eclipse的Export功能,导出为一个war文件,将该war文件解压后放到了Tomcat的webapps目录,启动tomcat.访问时在浏览器中就遇到了问题: javax.servlet.ServletException: Cannot find ActionMappi

求解一个异常:javax.servlet.ServletException: org.jbpm.pvm.internal.wire.JbpmClassNotFo

问题描述 messagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:org.jbpm.pvm.internal.wire.JbpmClassNotFoundException:couldn'tloadclassorg.apache.struts.action.RequestProces