当前位置: 代码迷 >> Web前端 >> 页面下:HTTP Status 500 -Can't get object clsid from progid
  详细解决方案

页面下:HTTP Status 500 -Can't get object clsid from progid

热度:1647   发布时间:2013-09-11 17:59:57.0
页面上:HTTP Status 500 -Can't get object clsid from progid
页面上:HTTP Status 500 -

--------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Can't get object clsid from progid
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

com.jacob.com.ComFailException: Can't get object clsid from progid
com.jacob.com.Dispatch.createInstance(Native Method)
com.jacob.com.Dispatch.<init>(Dispatch.java:146)
com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
com.lyang.governmentbill.utility.Report.Java2Word.open(Java2Word.java:61)
com.lyang.governmentbill.CCI.jsp.Bean.ReportManagerBean1.reportManagerBean(ReportManagerBean1.java:95)
org.apache.jsp.reportList1_jsp._jspService(reportList1_jsp.java:100)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.


--------------------------------------------

Apache Tomcat/5.5.17

控制台上:
com.jacob.com.ComFailException: Can't get object clsid from progid
at com.jacob.com.Dispatch.createInstance(Native Method)
at com.jacob.com.Dispatch.<init>(Dispatch.java:146)
at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
at com.lyang.governmentbill.utility.Report.Java2Word.open(Java2Word.java:62)
at com.lyang.governmentbill.CCI.jsp.Bean.ReportManagerBean1.reportManagerBean(ReportManagerBean1.java:95)
at org.apache.jsp.reportList1_jsp._jspService(reportList1_jsp.java:100)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

   原因有:第一,服务器没有安装word造成的。第二,在system32和jdk bin目录下均需放一份jacob.dll文件。我出现在就是第二种情况。
1 楼 antony102201 2011-12-14  
我好像没有找到,可还是报这个错
2 楼 antony102201 2011-12-14  
服务器没有安装word造成的是什么意思啊

我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html
  相关解决方案