jbpm例子发布在tomcat中报错待解决

问题描述

错误信息为:javax.servlet.ServletException:Servlet.init()forservletjspthrewexceptionorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)java.lang.Thread.run(UnknownSource)rootcausejava.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.jasper.compiler.JspRuntimeContextorg.apache.jasper.servlet.JspServlet.init(JspServlet.java:101)org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)java.lang.Thread.run(UnknownSource)noteThefullstacktraceoftherootcauseisavailableintheApacheTomcat/6.0.10logs.请教高手是什么原因

解决方案

解决方案二:
现在报的错是:org.apache.jasper.JasperException:javax.servlet.ServletException:java.lang.NoClassDefFoundError:javax/mail/Message$RecipientTypeorg.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:532)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:408)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rootcausejavax.servlet.ServletException:java.lang.NoClassDefFoundError:javax/mail/Message$RecipientTypeorg.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)org.apache.jsp.index_jsp._jspService(index_jsp.java:210)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rootcausejava.lang.NoClassDefFoundError:javax/mail/Message$RecipientTypeorg.jbpm.pvm.internal.email.impl.MailTemplate.setTo(MailTemplate.java:82)org.jbpm.pvm.internal.wire.binding.MailTemplateBinding.parseMailTemplate(MailTemplateBinding.java:81)org.jbpm.pvm.internal.wire.binding.MailTemplateBinding.parse(MailTemplateBinding.java:69)org.jbpm.pvm.internal.xml.Parser.parseElement(Parser.java:516)org.jbpm.pvm.internal.wire.xml.WireParser.parseElement(WireParser.java:231)org.jbpm.pvm.internal.wire.xml.WireParser.parseDocumentElement(WireParser.java:202)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:101)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:86)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:86)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationImpl.parse(ConfigurationImpl.java:137)org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:116)org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:50)org.jbpm.api.Configuration.setResource(Configuration.java:79)org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)org.apache.jsp.index_jsp._jspService(index_jsp.java:84)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rootcausejava.lang.ClassNotFoundException:javax.mail.Message$RecipientTypejava.net.URLClassLoader$1.run(UnknownSource)java.security.AccessController.doPrivileged(NativeMethod)java.net.URLClassLoader.findClass(UnknownSource)java.lang.ClassLoader.loadClass(UnknownSource)java.lang.ClassLoader.loadClass(UnknownSource)java.lang.ClassLoader.loadClassInternal(UnknownSource)org.jbpm.pvm.internal.email.impl.MailTemplate.setTo(MailTemplate.java:82)org.jbpm.pvm.internal.wire.binding.MailTemplateBinding.parseMailTemplate(MailTemplateBinding.java:81)org.jbpm.pvm.internal.wire.binding.MailTemplateBinding.parse(MailTemplateBinding.java:69)org.jbpm.pvm.internal.xml.Parser.parseElement(Parser.java:516)org.jbpm.pvm.internal.wire.xml.WireParser.parseElement(WireParser.java:231)org.jbpm.pvm.internal.wire.xml.WireParser.parseDocumentElement(WireParser.java:202)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:101)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:86)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:86)org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)org.jbpm.pvm.internal.cfg.ConfigurationImpl.parse(ConfigurationImpl.java:137)org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:116)org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:50)org.jbpm.api.Configuration.setResource(Configuration.java:79)org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)org.apache.jsp.index_jsp._jspService(index_jsp.java:84)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
解决方案三:
应该是少包吧
解决方案四:
jasper.jar放进去看看,在tomcat底下有

时间: 2024-10-27 05:24:42

jbpm例子发布在tomcat中报错待解决的相关文章

jpbm的例子发布在tomcat中报错待解决

问题描述 大家好,我在搭建利用jbpm设计工作流的环境,用的eclipseGalileo,jbpm4.4,tomcat6.0,在运行一个实例project时,tomcat总是报错:Anerroroccurredatline:13inthejspfile:/index.jspProcessEnginecannotberesolvedtoatype10:</head>11:<body>12:<%13:ProcessEngineprocessEngine=Configuration

javascript在myeclipse中报错的解决方法_javascript技巧

jqueryjQueryJQUERYJqueryJQueryjquery报错jsJSJsmyeclipseMyEclipseMyeclipse 1.选中报错的jquery文件"jquery-1.2.6.min.js". 2.右键选择 MyEclipse-->Exclude From Validation. 3.再右键选择 MyEclipse-->Run Validation 即可.

Eclipse 工程发布到 tomcat 报错

问题描述 在Eclipse修改工程保存后publish到tomcat总是报这个错,没搞明白,有知道的大神嘛!求解!不知道怎么老报Couldnotdeleteerror.log 解决方案 解决方案二:使用文件粉碎机把logs目录粉碎解决方案三:是否tomcat正运行着呢?将tomcat停掉部署.解决方案四:引用2楼magi1201的回复: 是否tomcat正运行着呢?将tomcat停掉部署. 那难道每改一次文件都要停止tomcat,然后才能publish吗?不是有自动publish的功能吗!解决方

WEBSERVERS VS2013中可以正常运行,编译发布到IIS中报错

问题描述 System.Data.SqlClient.SqlException:Cannotopendatabase"StockManage"requestedbythelogin.Theloginfailed.Loginfailedforuser'IISAPPPOOLDefaultAppPool'.在System.Data.SqlClient.SqlInternalConnection.OnError(SqlExceptionexception,BooleanbreakConnect

启动tomcat报错,怎么解决

问题描述 log4j:ERRORErroroccuredwhilesendinge-mailnotification. 解决方案 解决方案二:这是你自己的web应用里产生的吧.查看一下/logs目录下的日志.再搜索一次产生occuredwhilesendinge-mailnotification.这个错误的地方.逐步定位.

Lenovo G470无法进入系统或启动中报错怎么办

  Lenovo G470无法进入系统,或启动中报错的解决方 关键字:Lenovo G470,G470启动,G470报错,G470无法进入系统, G470解决方案,G470黑屏,G470蓝屏,G470故障,G470开机,G470屏幕,G470启动中报错,G470无法进入系统 故障现象: Lenovo G470开机屏幕黑屏或蓝屏报错,无法正常进入系统. 解决方: 现象一:G470启动中报错,屏幕卡在黑色背景屏幕,有白字报错信息 1. 首先查看G470屏幕报错信息,如报错S.M.A.R.T(如下图)

Lenovo G470无法进入系统,或启动中报错的解决方案

Lenovo G470无法进入系统,或启动中报错的解决方 关键字:Lenovo G470,G470启动,G470报错,G470无法进入系统, G470解决方案,G470黑屏,G470蓝屏,G470故障,G470开机,G470屏幕,G470启动中报错,G470无法进入系统 故障现象: Lenovo G470开机屏幕黑屏或蓝屏报错,无法正常进入系统. 解决方: 现象一:G470启动中报错,屏幕卡在黑色背景屏幕,有白字报错信息 1. 首先查看G470屏幕报错信息,如报错S.M.A.R.T(如下图),请

dwr3.0-DWR3.0 在jdk1.8版本中报错。

问题描述 DWR3.0 在jdk1.8版本中报错. 请教下各位,今天在1.8版本中部署DWR3.0后,发现不能进入dwr的调试页面,后台也报错.报错信息如下: ```java.lang.VerifyError: Inconsistent stackmap frames at branch target 2087 Exception Details: Location: sis/jsp/formula/formula_DWRCheckall.DWRCheckAll(Ljava/util/Map;L

代码-在win7系统中报错,win8系统中正常运行

问题描述 在win7系统中报错,win8系统中正常运行 1.在win7系统中,用thinkphp框架,很简单的调用数据库中的数据,循环打印在页面上的时候就出错, 代码为: {$vo.aName} 出错为: syntax error, unexpected ')', expecting T_VARIABLE or '$' 2.如果换为win8系统一样的代码就不会出错,请问这个原因是什么? 代码为: {$vo.aName} 输出为: adminzhangsan 请问这是什么原因? 解决方案 是用的i